[lkml]   [1996]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Ideas for reducing memory copying and zeroing times
Jamie Lokier <> wrote:
> [ Lots of good ideas ]

For slightly different wording, you may also want to read
or have a look at net/atm/mmuio.c in

See for the general picture.

What's different is that I don't have a zero page cache (no SMP ;-), but
I like that idea), and that I keep write buffers simply locked instead of
giving them to the kernel. To improve the latter, my (untested) free_range
function could be used in operations that are guaranteed to discard all
previous contents (e.g. in read system calls), but I haven't experimented
with that bit yet.

Also, my code only works with the ATM side of networking - the whole IP
stack is a bit more complex, but I think Alan has started working on

- Werner

/ Werner Almesberger, DI-LRC,EPFL,CH /

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