Re: kernel > 2.1.36 & nfs

Andi Kleen (andi@mind.aec.at)
03 Jun 1997 13:32:08 +0200


alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

>
> What is really needed is something like
>
>
> buffer=vreserve(65536); /* Allocate 64K of address space */
>
> err=vfill(buffer, len, GFP_..); /* Put pages in where needed */
> if(err==-ENOMEM) /* No pages */
>
> vfree(buffer)

Hmm, doesn't this mean that every packet needs at least 4K (or 8K on alpha,
32K on ARM) of memory? Sounds like a waste for Ethernet with a 1.5K MTU.

Or do I miss something here?

-Andi