Commit 662bbcb2747c ("mm, sched: Allow uaccess in atomic with
pagefault_disable()") removed might_sleep() checks for all user access
code (that uses might_fault()).
The reason was to disable wrong "sleep in atomic" warnings in the
following scenario:
pagefault_disable()
rc =
Commit 662bbcb2747c (mm, sched: Allow uaccess in atomic with
pagefault_disable()) removed might_sleep() checks for all user access
code (that uses might_fault()).
The reason was to disable wrong sleep in atomic warnings in the
following scenario:
pagefault_disable()
rc = copy_to_user(...)
2 matches
Mail list logo