summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorAndrea Arcangeli2011-12-08 23:33:57 +0100
committerLinus Torvalds2011-12-09 16:50:28 +0100
commit1dfb059b9438633b0546c5431538a47f6ed99028 (patch)
tree4e6181dfc2f8f21e01938246842305243c1bdb0e /CREDITS
parentfs/proc/meminfo.c: fix compilation error (diff)
downloadkernel-qcow2-linux-1dfb059b9438633b0546c5431538a47f6ed99028.tar.gz
kernel-qcow2-linux-1dfb059b9438633b0546c5431538a47f6ed99028.tar.xz
kernel-qcow2-linux-1dfb059b9438633b0546c5431538a47f6ed99028.zip
thp: reduce khugepaged freezing latency
khugepaged can sometimes cause suspend to fail, requiring that the user retry the suspend operation. Use wait_event_freezable_timeout() instead of schedule_timeout_interruptible() to avoid missing freezer wakeups. A try_to_freeze() would have been needed in the khugepaged_alloc_hugepage tight loop too in case of the allocation failing repeatedly, and wait_event_freezable_timeout will provide it too. khugepaged would still freeze just fine by trying again the next minute but it's better if it freezes immediately. Reported-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Tested-by: Jiri Slaby <jslaby@suse.cz> Cc: Tejun Heo <tj@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com> Cc: "Rafael J. Wysocki" <rjw@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions