aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2017-11-28 20:50:12 +0000
committerMatthew Wilcox <[email protected]>2018-02-06 21:41:28 +0000
commit72fd6c7be701d80eef34da305a6294c61520fe13 (patch)
tree43cedfc096c74d6240c51b77d6ed2b5a1042621c /tools/perf/scripts/python/mem-phys-addr.py
parentidr: Rename idr_for_each_entry_ext (diff)
downloadkernel-72fd6c7be701d80eef34da305a6294c61520fe13.tar.gz
kernel-72fd6c7be701d80eef34da305a6294c61520fe13.zip
idr: Warn if old iterators see large IDs
Now that the IDR can be used to store large IDs, it is possible somebody might only partially convert their old code and use the iterators which can only handle IDs up to INT_MAX. It's probably unwise to show them a truncated ID, so settle for spewing warnings to dmesg, and terminating the iteration. Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions