aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSasha Levin <[email protected]>2014-12-10 15:44:13 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:07 -0800
commit97ad2be1daf8e6f2d297aa349101b340e1327917 (patch)
treebc2f99575a556c2ff6c31ecd83d029d46124b95a /tools/perf/scripts/python/sched-migration.py
parent247b1447b6ccb2890cefc370f8e204592a70774d (diff)
mm, hugetlb: correct bit shift in hstate_sizelog()
hstate_sizelog() would shift left an int rather than long, triggering undefined behaviour and passing an incorrect value when the requested page size was more than 4GB, thus breaking >4GB pages. Signed-off-by: Sasha Levin <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Andrey Ryabinin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions