It was fixed upstream. I'm not entirely sure whether 9.10 got this, but
as VMware did not receive any further bug reports I guess it did.
commit 31a5639623a487d6db996c8138c9e53fef2e2d91
Author: Daisuke Nishimura
Date: Mon Sep 21 17:02:50 2009 -0700
mm: add_to_swap_cache() must not sleep
This bug report was marked as Triaged a while ago but has not had any
updated comments for quite some time. Please let us know if this issue
remains in the current Ubuntu release,
http://www.ubuntu.com/getubuntu/download . If the issue remains, click
on the current status under the Status column
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Status: New => Triaged
--
Kernel hang under memory stress
https://bugs.launchpad.net/bugs/433646
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed t
Attached is patch which seems to fix problem on my system. I'm not sure
whether cond_resched() is necessary in failure path when add fails (err
!= -ENOMEM), as I cannot trigger that path in the test, but one in
EEXIST path is rather vital...
Signed-off-by: Petr Vandrovec
--- a/mm/swap_state.c
+
Ah, none of Ubuntu kernels is built with CONFIG_PREEMPT=y - only with
PREEMPT_NONE or PREEMPT_VOLUNTARY. That explains why thread above never
runs, as there is no cond_resched() in a read_swap_cache_async() loop
mentioned above.
--
Kernel hang under memory stress
https://bugs.launchpad.net/bugs/
I've reproed it with all daemons & programs killed - see new attachment.
Apparently one of memhog threads went to sleep on malloc while adding
entry to the radix tree:
<6>[ 1789.980812] memhogR running task0 3039 3036 0x0002
<4>[ 1789.980812] 88003309dc38 0
** Attachment added: "memhog test application"
http://launchpadlibrarian.net/32121754/memhog
--
Kernel hang under memory stress
https://bugs.launchpad.net/bugs/433646
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs ma
** Attachment added: "alt-sysrq-t on hung system"
http://launchpadlibrarian.net/32121681/tasklist.txt
--
Kernel hang under memory stress
https://bugs.launchpad.net/bugs/433646
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubunt