aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKOSAKI Motohiro <[email protected]>2010-08-09 17:19:50 -0700
committerLinus Torvalds <[email protected]>2010-08-09 20:45:02 -0700
commit15748048991e801a2d18ce5da4e0d528852bc106 (patch)
treee31dcdf36bbcfdd1c78546637d59faa963597bac /tools/perf/scripts/python/bin
parent7ee92255470daa0edb93866aec6e27534cd9a177 (diff)
vmscan: avoid subtraction of unsigned types
'slab_reclaimable' and 'nr_pages' are unsigned. Subtraction is unsafe because negative results would be misinterpreted. Signed-off-by: KOSAKI Motohiro <[email protected]> Reviewed-by: Minchan Kim <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions