diff options
author | Ard Biesheuvel <[email protected]> | 2018-11-14 09:55:44 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-11-15 10:04:47 +0100 |
commit | 63eb322d89c8505af9b4a3d703e85e42281ebaa0 (patch) | |
tree | 6da384231bce837a16655294a2c40f3cfe916dcc /scripts/bpf_helpers_doc.py | |
parent | eff896288872d687d9662000ec9ae11b6d61766f (diff) |
efi: Permit calling efi_mem_reserve_persistent() from atomic context
Currently, efi_mem_reserve_persistent() may not be called from atomic
context, since both the kmalloc() call and the memremap() call may
sleep.
The kmalloc() call is easy enough to fix, but the memremap() call
needs to be moved into an init hook since we cannot control the
memory allocation behavior of memremap() at the call site.
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions