aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-06-20 13:17:01 -0700
committerChristoph Hellwig <[email protected]>2019-07-09 13:16:09 -0700
commite0620bf858d3f5e7121d9e429cf7a8f04ab29bf7 (patch)
tree2f4c9b98058ca82f2fb9c7fe251e90ebbd32f9bb /tools/perf/util/c++/clang-test.cpp
parentc38dbbfab1bc47b0f3a1eceea0fa45e44c477092 (diff)
nvme-fcloop: resolve warnings on RCU usage and sleep warnings
With additional debugging enabled, seeing warnings for suspicious RCU usage or Sleeping function called from invalid context. These both map to allocation of a work structure which is currently GFP_KERNEL, meaning it can sleep. For the RCU warning, the sequence was sleeping while holding the RCU lock. Convert the allocation to GFP_ATOMIC. Signed-off-by: James Smart <[email protected]> Reviewed-by: Minwoo Im <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions