summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAdam Litke2008-11-12 22:24:56 +0100
committerLinus Torvalds2008-11-13 02:17:16 +0100
commit7526674de0c921e7f1e9b6f71a1f9d832557b554 (patch)
tree9b40d13ecd775197b74fcb396d6aba7ce5ea589e /drivers/hwmon
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadkernel-qcow2-linux-7526674de0c921e7f1e9b6f71a1f9d832557b554.tar.gz
kernel-qcow2-linux-7526674de0c921e7f1e9b6f71a1f9d832557b554.tar.xz
kernel-qcow2-linux-7526674de0c921e7f1e9b6f71a1f9d832557b554.zip
hugetlb: make unmap_ref_private multi-size-aware
Oops. Part of the hugetlb private reservation code was not fully converted to use hstates. When a huge page must be unmapped from VMAs due to a failed COW, HPAGE_SIZE is used in the call to unmap_hugepage_range() regardless of the page size being used. This works if the VMA is using the default huge page size. Otherwise we might unmap too much, too little, or trigger a BUG_ON. Rare but serious -- fix it. Signed-off-by: Adam Litke <agl@us.ibm.com> Cc: Jon Tollefson <kniht@linux.vnet.ibm.com> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions