diff options
| author | KOSAKI Motohiro <[email protected]> | 2010-08-09 17:19:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-09 20:45:02 -0700 |
| commit | 15748048991e801a2d18ce5da4e0d528852bc106 (patch) | |
| tree | e31dcdf36bbcfdd1c78546637d59faa963597bac /tools/perf/scripts/python | |
| parent | 7ee92255470daa0edb93866aec6e27534cd9a177 (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')
0 files changed, 0 insertions, 0 deletions