Page MenuHomeFreeBSD

LinuxKPI: add fault_flag_allow_retry_first
ClosedPublic

Authored by greg_unrelenting.technology on Jun 7 2021, 2:26 PM.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

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