freebsd-src/sys/netncp
Attilio Rao 7fbfba7bf8 - Handle buffer lock waiters count directly in the buffer cache instead
than rely on the lockmgr support [1]:
  * bump the waiters only if the interlock is held
  * let brelvp() return the waiters count
  * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check
    for the waiters number
- Remove a namespace pollution introduced recently with lockmgr.h
  including lock.h by including lock.h directly in the consumers and
  making it mandatory for using lockmgr.
- Modify flags accepted by lockinit():
  * introduce LK_NOPROFILE which disables lock profiling for the
    specified lockmgr
  * introduce LK_QUIET which disables ktr tracing for the specified
    lockmgr [2]
  * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it
    can only be used on a per-instance basis
- Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer
  used

This patch breaks KPI so __FreBSD_version will be bumped and manpages
updated by further commits. Additively, 'struct buf' changes results in
a disturbed ABI also.

[2] Really, currently there is no ktr tracing in the lockmgr, but it
will be added soon.

[1] Submitted by:	kib
Tested by:	pho, Andrea Barberio <insomniac at slackware dot it>
2008-03-01 19:47:50 +00:00
..
ncp_cfg.h
ncp_conn.c Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is 2008-02-25 18:45:57 +00:00
ncp_conn.h - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
ncp_crypt.c Use __FBSDID(). 2003-06-11 05:37:42 +00:00
ncp_file.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_lib.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_login.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_mod.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
ncp_ncp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_ncp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_nls.c avoid potential null ptr derefs 2005-02-23 22:44:38 +00:00
ncp_nls.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_rcfile.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_rq.c Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
ncp_rq.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_sock.c Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
ncp_sock.h Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
ncp_subr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp_subr.h Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
ncp_user.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ncpio.h Use a character device and ioctl() for communication between libncp 2003-02-28 04:31:29 +00:00
nwerror.h