Messages in this thread | | | Date | Sat, 25 Dec 1999 03:28:37 -0800 (PST) | From | Tigran Aivazian <> | Subject | Re: [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/
| |