aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2021-01-09 17:18:32 -0500
committerJakub Kicinski <[email protected]>2021-01-11 18:20:09 -0800
commit29766bcffad03da66892bef82674883e31f78fec (patch)
treed6a92f058c494fe062470fc4ff6489c95ad1f674 /tools/perf/scripts/python/exported-sql-viewer.py
parente56b3d94d939f52d46209b9e1b6700c5bfff3123 (diff)
net: support kmap_local forced debugging in skb_frag_foreach
Skb frags may be backed by highmem and/or compound pages. Highmem pages need kmap_atomic mappings to access. But kmap_atomic maps a single page, not the entire compound page. skb_foreach_page iterates over an skb frag, in one step in the common case, page by page only if kmap_atomic must be called for each page. The decision logic is captured in skb_frag_must_loop. CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP extends kmap from highmem to all pages, to increase code coverage. Extend skb_frag_must_loop to this new condition. Link: https://lore.kernel.org/linux-mm/[email protected]/ Fixes: 0e91a0c6984c ("mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP") Reported-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Tested-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions