[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.4.0-test8 and swap/journaling fs on raid
On Friday September 29, wrote:
> On Fri, 29 Sep 2000, Pavel Machek wrote:
> > Are you sure there are no deadlock-when-low-on-memory bugs
> > hiding somewhere? swap over nbd also *seems* to work.

Raid preallocates all the memory that it needs.
When raid1 runs out of pre-allocated memory, it will try to see if
kmalloc(GFP_BUFFER) has any to spare and will use it transiently, but
it copes quite well if kmalloc doesn't provide any.
I think this is adequate to fend of deadlock-when-low-on-memory

But surely, deadlock-when-low-on-memory problems will hurt normal
filesystem activity just as much as swap activity -- is that right?

> Good that you mention this. I should look into this some
> day, preferably in the very near future.
> (added to my VM TODO list)

Always happy to have others do code reviews!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.134 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site