aboutsummaryrefslogtreecommitdiff
path: root/Documentation/zh_CN
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2014-06-23 13:22:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 10:51:22 -0700
commit2bcdd4933ff4dc46445dcae93cb37c648283b782 (patch)
tree6fc605862fa6a82ff18aced534dca36010ba330e /Documentation/zh_CN
parent08ccce4afe13b2dcad0ac2a86b7bc138207814ff (diff)
hugetlb: fix copy_hugetlb_page_range() to handle migration/hwpoisoned entry
commit 4a705fef986231a3e7a6b1a6d3c37025f021f49f upstream. There's a race between fork() and hugepage migration, as a result we try to "dereference" a swap entry as a normal pte, causing kernel panic. The cause of the problem is that copy_hugetlb_page_range() can't handle "swap entry" family (migration entry and hwpoisoned entry) so let's fix it. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: <stable@vger.kernel.org> [2.6.37+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/zh_CN')
0 files changed, 0 insertions, 0 deletions