summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-12-11 00:44:13 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 02:41:07 +0100
commit97ad2be1daf8e6f2d297aa349101b340e1327917 (patch)
treebc2f99575a556c2ff6c31ecd83d029d46124b95a /mm/memcontrol.c
parentmm: memcontrol: fold mem_cgroup_start_move()/mem_cgroup_end_move() (diff)
downloadlinux-97ad2be1daf8e6f2d297aa349101b340e1327917.tar.xz
linux-97ad2be1daf8e6f2d297aa349101b340e1327917.zip
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 <sasha.levin@oracle.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Andrey Ryabinin <a.ryabinin@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions