aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorDavid Miller <[email protected]>2020-02-24 14:01:53 +0000
committerAlexei Starovoitov <[email protected]>2020-02-25 00:20:10 +0000
commit099bfaa731ec347d3f16a463ae53b88a1700c0af (patch)
tree38d6b44dc8654900cfb0e735cd8d027ce00d4e53 /scripts/bpf_helpers_doc.py
parentbpf, lpm: Make locking RT friendly (diff)
downloadkernel-099bfaa731ec347d3f16a463ae53b88a1700c0af.tar.gz
kernel-099bfaa731ec347d3f16a463ae53b88a1700c0af.zip
bpf/stackmap: Dont trylock mmap_sem with PREEMPT_RT and interrupts disabled
In a RT kernel down_read_trylock() cannot be used from NMI context and up_read_non_owner() is another problematic issue. So in such a configuration, simply elide the annotated stackmap and just report the raw IPs. In the longer term, it might be possible to provide a atomic friendly versions of the page cache traversal which will at least provide the info if the pages are resident and don't need to be paged in. [ tglx: Use IS_ENABLED() to avoid the #ifdeffery, fixup the irq work callback and add a comment ] Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions