Linux-kernel mailing list archive 1999-51,: Re: [PATCH] 2.3.34/pre-2.3.35-3 ramdisk/initrd NOT as a

# Re: [PATCH] 2.3.34/pre-2.3.35-3 ramdisk/initrd NOT as a

Tigran Aivazian (tigran@ocston.org)
Sat, 25 Dec 1999 03:28:37 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Dave Gilbert: "Threads, 2.3.31 and Alpha"
- Previous message: Bernard Wei: "Re: Linux 2.2.14pre16"

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/

- Next message: Dave Gilbert: "Threads, 2.3.31 and Alpha"
- Previous message: Bernard Wei: "Re: Linux 2.2.14pre16"