freebsd-dev/sys/nfs4client
Jeff Roberson 1c4bcd050a - Move rusage from being per-process in struct pstats to per-thread in
td_ru.  This removes the requirement for per-process synchronization in
   statclock() and mi_switch().  This was previously supported by
   sched_lock which is going away.  All modifications to rusage are now
   done in the context of the owning thread.  reads proceed without locks.
 - Aggregate exiting threads rusage in thread_exit() such that the exiting
   thread's rusage is not lost.
 - Provide a new routine, rufetch() to fetch an aggregate of all rusage
   structures from all threads in a process.  This routine must be used
   in any place requiring a rusage from a process prior to it's exit.  The
   exited process's rusage is still available via p_ru.
 - Aggregate tick statistics only on demand via rufetch() or when a thread
   exits.  Tick statistics are kept in the thread and protected by sched_lock
   until it exits.

Initial patch by:	attilio
Reviewed by:		attilio, bde (some objections), arch (mostly silent)
2007-06-01 01:12:45 +00:00
..
nfs4_dev.c Add better sanity checking to the logic that handles ioctl processing 2006-05-13 00:16:35 +00:00
nfs4_dev.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_idmap.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_idmap.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_socket.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_subs.c NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4_vfs_subs.c Unstaticize nfs_iosize() in nfsclient and use it in nfs4client instead 2007-01-25 13:07:25 +00:00
nfs4_vfs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_vfsops.c Rename some functions and variables (mainly vfsops entry points) from 2007-01-25 14:18:40 +00:00
nfs4_vn_subs.c NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4_vn.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4_vnops.c - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
nfs4.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4m_subs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00