]> Git Repo - linux.git/commit
mm/hugetlb.c: add cond_resched_lock() in return_unused_surplus_pages()
authorMizuma, Masayoshi <[email protected]>
Fri, 18 Apr 2014 22:07:18 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Fri, 18 Apr 2014 23:40:08 +0000 (16:40 -0700)
commit7848a4bf51b34f41fcc9bd77e837126d99ae84e3
tree229cc0ba9f40530d043ec153ec688de86249bde0
parent8b32201de1f87878ace971bfdc2846a4f3a5bb2b
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 <[email protected]>
Signed-off-by: Naoya Horiguchi <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Aneesh Kumar <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/hugetlb.c
This page took 0.044544 seconds and 4 git commands to generate.