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


    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.017 / U:60.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site