diff options
author | Mizuma, Masayoshi <m.mizuma@jp.fujitsu.com> | 2014-04-18 15:07:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-18 16:40:08 -0700 |
commit | 7848a4bf51b34f41fcc9bd77e837126d99ae84e3 (patch) | |
tree | 229cc0ba9f40530d043ec153ec688de86249bde0 /kernel/up.c | |
parent | 8b32201de1f87878ace971bfdc2846a4f3a5bb2b (diff) | |
download | op-kernel-dev-7848a4bf51b34f41fcc9bd77e837126d99ae84e3.zip op-kernel-dev-7848a4bf51b34f41fcc9bd77e837126d99ae84e3.tar.gz |
mm/hugetlb.c: add cond_resched_lock() in return_unused_surplus_pages()
soft lockup in freeing gigantic hugepage fixed in commit 55f67141a892 "mm:
hugetlb: fix softlockup when a large number of hugepages are freed." can
happen in return_unused_surplus_pages(), so let's fix it.
Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Aneesh Kumar <aneesh.kumar@linux.vnet.ibm.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions