lkml.org 
[lkml]   [1997]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel > 2.1.36 & nfs
From
Date
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

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