Page MenuHomeFreeBSD

LinuxKPI: add fault_flag_allow_retry_first
ClosedPublic

Authored by val_packett.cool on Jun 7 2021, 2:26 PM.
Referenced Files
F153000811: D30673.diff
Sat, Apr 18, 1:48 PM
Unknown Object (File)
Wed, Apr 15, 10:08 PM
Unknown Object (File)
Sat, Apr 11, 3:00 AM
Unknown Object (File)
Fri, Apr 10, 10:10 PM
Unknown Object (File)
Fri, Apr 3, 5:40 PM
Unknown Object (File)
Fri, Apr 3, 10:23 AM
Unknown Object (File)
Mar 18 2026, 11:25 PM
Unknown Object (File)
Mar 18 2026, 9:48 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/compat/linuxkpi/common/include/linux/mm.h
96

Parenthesis around (flags) is good macro practice:

I suggest like this:

(((flags) & (FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_TRIED)) == FAULT_FLAG_ALLOW_RETRY)

This revision is now accepted and ready to land.Jun 7 2021, 5:23 PM
This revision was automatically updated to reflect the committed changes.