aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2018-03-08 08:00:14 +0000
committerIngo Molnar <[email protected]>2018-03-09 08:58:22 +0100
commit9f66d8d73e654c5f867daa6aa186300ecaf49d3a (patch)
tree003f256d71b4d46dbf30de1dea702cdfae94bacb /tools/perf/util/scripting-engines/trace-event-python.c
parent7e611e7dbb235938fca1dd359bad5e5f86ceabcb (diff)
x86/efi: Replace GFP_ATOMIC with GFP_KERNEL in efi_query_variable_store()
efi_query_variable_store() does an atomic kzalloc() unnecessarily, because we can never get this far when called in an atomic context, namely when nonblocking == 1. Replace it with GFP_KERNEL. This was found by the DCNS static analysis tool written by myself. Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matt Fleming <[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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions