summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/efi-stub-helper.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2015-09-23 00:59:14 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-23 01:09:53 +0300
commit3aaa76e125c1dd58c9b599baa8c6021896874c12 (patch)
treed733e970440cbe96dc3fe78cbaf56b1581eb036b /drivers/firmware/efi/libstub/efi-stub-helper.c
parent8a04446ab0cf4f35d9f583cd6adcbf7c534e4995 (diff)
downloadlinux-3aaa76e125c1dd58c9b599baa8c6021896874c12.tar.xz
mm: migrate: hugetlb: putback destination hugepage to active list
Since commit bcc54222309c ("mm: hugetlb: introduce page_huge_active") each hugetlb page maintains its active flag to avoid a race condition betwe= en multiple calls of isolate_huge_page(), but current kernel doesn't set the f= lag on a hugepage allocated by migration because the proper putback routine isn= 't called. This means that users could still encounter the race referred to by bcc54222309c in this special case, so this patch fixes it. Fixes: bcc54222309c ("mm: hugetlb: introduce page_huge_active") Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Andi Kleen <andi@firstfloor.org> Cc: Hugh Dickins <hughd@google.com> Cc: <stable@vger.kernel.org> [4.1.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efi-stub-helper.c')
0 files changed, 0 insertions, 0 deletions