diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2010-11-24 12:56:54 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:44:07 -0700 |
commit | 5b10d682e08cb68b9d4581057f4719fe53da6245 (patch) | |
tree | 93ee1187e5da095bce04e1ae77bd0c821074ef30 /mm/page_io.c | |
parent | 5c1cd3ddd72f5ccd5f40e9e176a9cd69b8fd9506 (diff) |
nommu: yield CPU while disposing VM
commit 04c3496152394d17e3bc2316f9731ee3e8a026bc upstream.
Depending on processor speed, page size, and the amount of memory a
process is allowed to amass, cleanup of a large VM may freeze the system
for many seconds. This can result in a watchdog timeout.
Make sure other tasks receive some service when cleaning up large VMs.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Cc: Greg Ungerer <gerg@snapgear.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions