mm: hugetlb: fix stalls when a large number of hugepages are freed
v2 cover mm: hugetlb: fix stalls when a large number of hugepages are freed
Hi,
This patch will fix a long stalling when a large number of hugepages are freed.
* Changes in v2
- The subject is changed.
- Adding cond_resched_lock() in return_unused_surplus_pages(). Because when freeing a number of surplus pages, same problems happen.
Thanks,
Masayoshi Mizuma
Masayoshi Mizuma (1):
mm: hugetlb: fix stalling when a large number of hugepages are freed
mm/hugetlb.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>