aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexandru Moise <[email protected]>2015-11-05 18:48:08 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commitd031a157915e0508ffa1ab9f1bbf977257529cb4 (patch)
tree7b983910489c58b1545845622a301e154ad008d8 /tools/perf/scripts/python/export-to-postgresql.py
parentda39da3a54fed88e29024f2f1f6cd7357cd03a44 (diff)
mm/vmscan.c: fix types of some locals
In zone_reclaimable_pages(), `nr' is returned by a function which is declared as returning "unsigned long", so declare it such. Negative values are meaningless here. In zone_pagecache_reclaimable() we should also declare `delta' and `nr_pagecache_reclaimable' as being unsigned longs because they're used to store the values returned by zone_page_state() and zone_unmapped_file_pages() which also happen to return unsigned integers. [[email protected]: make zone_pagecache_reclaimable() return ulong rather than long] Signed-off-by: Alexandru Moise <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Vladimir Davydov <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions