Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src/sys
Module Name: src
Committed By: snj
Date: Tue Feb 24 02:34:47 UTC 2009
Modified Files:
src/sys/kern [netbsd-5]: sys_pipe.c
src/sys/sys [netbsd-5]: pipe.h
Log Message:
Pull up following revision(s) (requested by enami/joerg in ticket #468):
sys/kern/sys_pipe.c: revision 1.106
sys/sys/pipe.h: revision 1.25
Apply pipe patch posted to tech-kern, slightly updated:
- Cache kva.
- Convert to use mutex_obj_alloc().
- Make better use of pool_cache.
Also:
Disable direct transfers for the moment. I believe there may be a bug that
can cause transfers to stall when switching between direct/buffered access.
I think this has most recently been run into on 'denver' but I have seen it
as far back as 3.1.
(As an aside, direct is a not a clear win on modern systems with large cache
and high TLB invalidation overhead. Particularly so on MP systems, although
micro benchmarks may report otherwise because they typically do not tax the
system. Anyone want to write a decent benchmark?)
To generate a diff of this commit:
cvs rdiff -r1.103.4.1 -r1.103.4.2 src/sys/kern/sys_pipe.c
cvs rdiff -r1.24 -r1.24.14.1 src/sys/sys/pipe.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index