Re: mmap() sendfile()

2005-12-14 Thread Iasen Kostov
On Mon, 2005-12-12 at 18:20 +0100, Cedric Tabary wrote: > On 12/12/2005 08:38, Mike Silbersack wrote: > > On Mon, 12 Dec 2005, Cedric Tabary wrote: > > > > >If it is true, doing a sendfile() on some very big files (even if not > > >keeping the descriptor open after) will kill the cache ? > > > > >

Re: mmap() sendfile()

2005-12-14 Thread Iasen Kostov
On Mon, 2005-12-12 at 18:20 +0100, Cedric Tabary wrote: > On 12/12/2005 08:38, Mike Silbersack wrote: > > On Mon, 12 Dec 2005, Cedric Tabary wrote: > > > > >If it is true, doing a sendfile() on some very big files (even if not > > >keeping the descriptor open after) will kill the cache ? > > > > >

Re: anybody interested in "Usable lock..." project?

2005-12-14 Thread prime
On 12/14/05, Joel Dahl <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-12-13 at 22:44 +0800, prime wrote: > > hi hackers, > > > > Are there anybody are interested in project "Usable lock implementation > with > > SX-semantics"(http://www.freebsd.org/projects/ideas/#p-sxsemantics)? > > Can we discuss it

Re: ipfw forwarding

2005-12-14 Thread OxY
thanks, it works! On Tue, Dec 13, 2005 at 06:27:43PM +0100, OxY wrote: hi! i have a probably dumb question, can't get through it.. i have some ips on my server (x.x.x.28 and x.x.x.204 is important).. tried to forward packets from one ip to the other and ipfw doesn't do anything. i'd like to c

Re: Standard C-macro scripting

2005-12-14 Thread Stefan Farfeleder
On Tue, Dec 13, 2005 at 07:36:10PM +0100, Hans Petter Selasky wrote: > Hi, > > What do you think about defining the following macros like this: > > #ifndef NOT > #define NOT(arg) _NOT(YES arg(() NO)) > #define _NOT(args...) args > #endif If you're interested in standards conforming code