Howdy,

While reading through the source code for read():

http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/syscall/rw.c

I came across the following:

/*
    168          * Only use bypass caches when the count is large enough
    169          */
    170         if (bcount < copyout_min_size)
    171                 auio.uio_extflg = UIO_COPY_CACHED;
    172         else
    173                 auio.uio_extflg = UIO_COPY_DEFAULT;

    [ ..... ]

Could someone shed some light on what a bypass cache, and where the magic value 128k (value of copyout_min_size) comes from?

Thanks,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to