lkml.org 
[lkml]   [1999]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.3.34/pre-2.3.35-3 ramdisk/initrd NOT as a
Dear Linus and the World,

Merry Christmas!

You said recently about BDE's ramdisk fix (included in Frank's patch):

> Looks good, applied.

I agree that it looks very good but it has one problem - it can easily
cause "VM: oom" events - just insmod rd with blocksize=512 and start
filling up the minors dd'ing a large file to the corresponding /dev/ramX
nodes.

A simpler approach (using vmalloc()) as I suggested earlier does not
result in the disaster described above. Therefore, perhaps it still makes
sense to consider the patch below:

http://www.ocston.org/~tigran/patches/ramdisk-2.3.35-pre2.patch

Alternatively, if you really don't like vmalloc() idea one ought to
investigate how to avoid those ooms.

Regards,
Tigran.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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