diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2010-09-08 03:19:36 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-10-08 09:32:45 +0200 |
commit | 6de2b1aab94355482bd2accdc115666509667458 (patch) | |
tree | 630a88dd5afe2c49a428179770140b22bbc9d7da /net/unix | |
parent | hugetlb: hugepage migration core (diff) | |
download | linux-6de2b1aab94355482bd2accdc115666509667458.tar.xz linux-6de2b1aab94355482bd2accdc115666509667458.zip |
HWPOISON, hugetlb: add free check to dequeue_hwpoison_huge_page()
This check is necessary to avoid race between dequeue and allocation,
which can cause a free hugepage to be dequeued twice and get kernel unstable.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions