From: Hillf Danton Date: Fri, 20 Jan 2012 22:34:13 +0000 (-0800) Subject: mm/hugetlb.c: undo change to page mapcount in fault handler X-Git-Tag: v3.3-rc2~46^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=409eb8c2611b4310947a150af988111f7f52ab15;p=pandora-kernel.git mm/hugetlb.c: undo change to page mapcount in fault handler Page mapcount should be updated only if we are sure that the page ends up in the page table otherwise we would leak if we couldn't COW due to reservations or if idx is out of bounds. Signed-off-by: Hillf Danton Reviewed-by: Michal Hocko Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed