aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGuillermo Julián Moreno <[email protected]>2016-06-03 14:55:33 -0700
committerLinus Torvalds <[email protected]>2016-06-03 15:06:22 -0700
commit65ee03c4b9f89e1b088defd97273be6da169d798 (patch)
treeca5bd05b3bc29cf2a5a07f083fd80221049aa06e /tools/perf/scripts/python/call-graph-from-postgresql.py
parent4340fa55298d17049e71c7a34e04647379c269f3 (diff)
mm: fix overflow in vm_map_ram()
When remapping pages accounting for 4G or more memory space, the operation 'count << PAGE_SHIFT' overflows as it is performed on an integer. Solution: cast before doing the bitshift. [[email protected]: fix vm_unmap_ram() also] [[email protected]: fix vmap() as well, per Guillermo] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Guillermo Julián Moreno <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions