linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00 of 13] oom deadlock fixes # try 2
@ 2008-01-08  7:50 Andrea Arcangeli
  2008-01-08  7:50 ` [PATCH 01 of 13] limit shrink zone scanning Andrea Arcangeli
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Andrea Arcangeli @ 2008-01-08  7:50 UTC (permalink / raw)
  To: linux-mm

This introduces the memdie_jiffies and MEMDIE_DELAY plus some minor
improvement that probably isn't really necessary (but I found tasks looping in
fork() allocating pagetables with GFP_REPEAT and lots of tasks in
congestion_wait so I thought to improve those two bits too). I can still
reproduce one deadlock in a certain condition with this patchset while no
deadlock was happening with the previous one before memdie_jiffies for
whatever reason. I was trying to fix that last deadlock before submission but
because of the talks on linux-mm on what I already got implemented and working
fine, I'll submit this right now (the new deadlock is likely unrelated to
these changes). I'm wondering if perhaps it's related to having reintroduced
the PF_EXITING check but in theory it shouldn't because the PF_EXITING check
should go off after 60sec when we start skipping over the TIF_MEMDIE tasks.

I written the last two patches after checking stack traces while debugging the
new deadlock.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-01-08  7:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08  7:50 [PATCH 00 of 13] oom deadlock fixes # try 2 Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 01 of 13] limit shrink zone scanning Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 02 of 13] avoid oom deadlock in nfs_create_request Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 03 of 13] prevent oom deadlocks during read/write operations Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 04 of 13] avoid selecting already killed tasks Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 05 of 13] reduce the probability of an OOM livelock Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 06 of 13] balance_pgdat doesn't return the number of pages freed Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 07 of 13] don't depend on PF_EXITING tasks to go away Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 08 of 13] stop useless vm trashing while we wait the TIF_MEMDIE task to exit Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 09 of 13] oom select should only take rss into account Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 10 of 13] limit reclaim if enough pages have been freed Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 11 of 13] not-wait-memdie Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 12 of 13] gfp-repeat stop with TIF_MEMDIE Andrea Arcangeli
2008-01-08  7:50 ` [PATCH 13 of 13] congestion wait Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox