Re: kernel > 2.1.36 & nfs
Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 3 Jun 1997 22:00:27 +0100 (BST)
> > 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.
You certainly have the option of delaying this decision should you wish. It
will only apply to fragmented packets..