The NetBSD Project

CVS log for src/sys/miscfs/fifofs/fifo_vnops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / miscfs / fifofs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.91 / (download) - annotate - [select for diffs], Mon Oct 11 01:07:36 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.90: +6 -6 lines
Diff to previous 1.90 (colored) to selected 1.57 (colored)

Setting EV_EOF requires modifying kn->kn_flags.  However, that relies on
holding the kq_lock of that note's kq.  Rather than exposing this directly,
add new knote_set_eof() and knote_clear_eof() functions that handle the
necessary locking and don't leak as many implementation details to modules.

NetBSD 9.99.91

Revision 1.79.8.3 / (download) - annotate - [select for diffs], Mon Oct 4 14:48:25 2021 UTC (2 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.79.8.2: +5 -4 lines
Diff to previous 1.79.8.2 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.57 (colored)

Pull up following revision(s) (requested by thorpej in ticket #1353):

	sys/miscfs/fifofs/fifo_vnops.c: revision 1.90
	tests/kernel/kqueue/write/t_fifo.c: revision 1.5

- Add a new EVFILT_WRITE test case for FIFOs that correctly validates
the writability thresholds.
- Fix a bug in fifo_kqfilter() exposed by the new test case; in the
EVFILT_WRITE case, we were attaching the wrong end of the socket
pair to the knote!
- In filt_fiforead(), use ">= so->so_rcv.sb_lowat" rather than "> 0"
for consistency with fifo_poll().  NFC.

Revision 1.79.8.2 / (download) - annotate - [select for diffs], Mon Oct 4 14:32:38 2021 UTC (2 years, 6 months ago) by martin
Branch: netbsd-9
Changes since 1.79.8.1: +19 -2 lines
Diff to previous 1.79.8.1 (colored) to branchpoint 1.79 (colored) to selected 1.57 (colored)

Pull up following revision(s) (requested by thorpej in ticket #1351):

	sys/miscfs/fifofs/fifo_vnops.c: revision 1.88
	sys/kern/uipc_syscalls.c: revision 1.201
	tests/lib/libc/sys/t_poll.c: revision 1.6
	tests/lib/libc/sys/t_poll.c: revision 1.7
	tests/lib/libc/sys/t_poll.c: revision 1.8

- Strenghen the poll(2) fifo_inout test to ensure that once the reader
has read enough that exactly PIPE_BUF space is available that the FIFO
becomes writable again.
- When creating a FIFO, ensure that the receive low water mark is 1
(a FIFO must be readable when at least 1 byte is available); this
was already the case implicitly, but this makes it explicit.
- Similarly, set the send low water mark to PIPE_BUF to ensure that
the pipe is writable when at least PIPE_BUF bytes of space are available
in the send buffer.  Without this change, the strengthened test case
above does not pass (the default send low water mark is larger than
PIPE_BUF; see soreserve()).
- Make the same low water mark changes to the PIPE_SOCKETPAIR case.

In the fifo_hup1 test, also ensure that POLLHUP is de-asserted when a
new writer appears.

Add a fifo_inout test case that validates the expected POLLIN / POLLOUT
behavior for FIFOs:
- A FIFO is readable so long as at least 1 byte is available.
- A FIFO is writable so long as at least PIPE_BUF (obtained with _PC_PIPE_BUF)
  space is avaiable.
This will be cloned for a forthcoming kevent test case.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Oct 2 18:39:15 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.89: +5 -4 lines
Diff to previous 1.89 (colored) to selected 1.57 (colored)

- Add a new EVFILT_WRITE test case for FIFOs that correctly validates
  the writability thresholds.
- Fix a bug in fifo_kqfilter() exposed by the new test case; in the
  EVFILT_WRITE case, we were attaching the wrong end of the socket
  pair to the knote!
- In filt_fiforead(), use ">= so->so_rcv.sb_lowat" rather than "> 0"
  for consistency with fifo_poll().  NFC.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Oct 2 17:37:21 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.57 (colored)

...and correct my terrible spelling.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Oct 2 17:32:55 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +19 -2 lines
Diff to previous 1.87 (colored) to selected 1.57 (colored)

- Strenghen the poll(2) fifo_inout test to ensure that once the reader
  has read enough that exactly PIPE_BUF space is available that the FIFO
  becomes writable again.
- When creating a FIFO, ensure that the receive low water mark is 1
  (a FIFO must be readable when at least 1 byte is available); this
  was already the case implicitly, but this makes it explicit.
- Similarly, set the send low water mark to PIPE_BUF to ensure that
  the pipe is writable when at least PIPE_BUF bytes of space are available
  in the send buffer.  Without this change, the strengthened test case
  above does not pass (the default send low water mark is larger than
  PIPE_BUF; see soreserve()).
- Make the same low water mark changes to the PIPE_SOCKETPAIR case.

Revision 1.79.8.1 / (download) - annotate - [select for diffs], Sat Oct 2 11:07:55 2021 UTC (2 years, 6 months ago) by martin
Branch: netbsd-9
Changes since 1.79: +76 -17 lines
Diff to previous 1.79 (colored) to selected 1.57 (colored)

Pull up following revision(s) (requested by thorpej in ticket #1350):

	sys/kern/uipc_socket2.c: revision 1.140
	tests/lib/libc/sys/t_poll.c: revision 1.5
	sys/miscfs/fifofs/fifo_vnops.c: revision 1.87

- fifo_poll(): If the last writer has disappeared, detect this and return
  POLLHUP, per POSIX.
- fifo_close(): Use the new fifo_socantrcvmore(), which is like the
  garden-variety socantrcvmore(), except it specifies POLL_HUP rather
  than POLL_IN (so the correct code for SIGIO is sent).
- sowakeup(): Allow POLL_HUP as a code (notifies poll'ers with POLLHUP).
- Add test cases for correct POLLHUP behavior with FIFOs.

Fixes PR kern/56429.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Oct 2 02:07:41 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.86: +76 -17 lines
Diff to previous 1.86 (colored) to selected 1.57 (colored)

- fifo_poll(): If the last writer has disappeared, detect this and return
  POLLHUP, per POSIX.
- fifo_close(): Use the new fifo_socantrcvmore(), which is like the
  garden-variety socantrcvmore(), except it specifies POLL_HUP rather
  than POLL_IN (so the correct code for SIGIO is sent).
- sowakeup(): Allow POLL_HUP as a code (notifies poll'ers with POLLHUP).
- Add test cases for correct POLLHUP behavior with FIFOs.

Fixes PR kern/56429.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 29 13:15:45 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored) to selected 1.57 (colored)

The kq filterops that interact with sockets are MPSAFE.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 29 02:47:22 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.84: +6 -8 lines
Diff to previous 1.84 (colored) to selected 1.57 (colored)

- Change selremove_knote() from returning void to bool, and return
  true if the last knote was removed and there are no more knotes
  on the selinfo.
- Use this new return value in filt_sordetach(), filt_sowdetach(),
  filt_fifordetach(), and filt_fifowdetach() to know when to clear
  SB_KOTE without having to know select/kqueue implementation details.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 26 01:16:10 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) to selected 1.57 (colored)

Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:39 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:08 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored) to selected 1.57 (colored)

- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:35:04 2021 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.81: +9 -9 lines
Diff to previous 1.81 (colored) next main 1.82 (colored) to selected 1.57 (colored)

Sync w/ HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Dec 19 22:09:15 2020 UTC (3 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.81: +9 -9 lines
Diff to previous 1.81 (colored) to selected 1.57 (colored)

Use sel{record,remove}_knote().

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:19 2020 UTC (3 years, 9 months ago) by christos
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.57 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.80 / (download) - annotate - [select for diffs], Sat May 16 18:31:51 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored) to selected 1.57 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.72.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:47 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.72.6.2: +15 -7 lines
Diff to previous 1.72.6.2 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.57 (colored)

update from HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 25 08:12:39 2017 UTC (6 years, 5 months ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.78: +15 -6 lines
Diff to previous 1.78 (colored) to selected 1.57 (colored)

Use C99 initializer for filterops

Mostly done with spatch with touchups for indentation

@@
expression a;
identifier b,c,d;
identifier p;
@@
const struct filterops p =
- 	{ a, b, c, d
+ 	{
+ 	.f_isfd = a,
+ 	.f_attach = b,
+ 	.f_detach = c,
+ 	.f_event = d,
};

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:08 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.57 (colored)

Sync with HEAD

Revision 1.77.8.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:27 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.57 (colored)

Sync with HEAD

Revision 1.77.12.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:03 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.57 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:00 2017 UTC (7 years ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored) to selected 1.57 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.72.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:30 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.72.6.1: +6 -7 lines
Diff to previous 1.72.6.1 (colored) to branchpoint 1.72 (colored) to selected 1.57 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:05 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.74: +7 -8 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.57 (colored)

Rebase.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Aug 9 05:33:01 2014 UTC (9 years, 8 months ago) by rtr
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.57 (colored)

split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions

  - always KASSERT(solocked(so)) even if not implemented
    (for PRU_CONNECT2 only)

  - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
    pr_connect2()

  - replace calls to pr_generic() with req = PRU_PURGEIF with calls to
    pr_purgeif()

put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed

patch only briefly reviewed by rmind@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:52 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 (colored) to selected 1.57 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:05 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.70.2.1: +3 -5 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored) to selected 1.57 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.73.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:09 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.73.4.1: +3 -7 lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.57 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Sat May 17 23:30:24 2014 UTC (9 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.74: +4 -7 lines
Diff to previous 1.74 (colored) to selected 1.57 (colored)

fifo_open: assign v_fifoinfo once initialised; add an assert while here.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:22 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.57 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 15:21:48 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.73: +5 -4 lines
Diff to previous 1.73 (colored) to selected 1.57 (colored)

Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
  methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
  socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:24 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored) to selected 1.57 (colored)

resync from head

Revision 1.73 / (download) - annotate - [select for diffs], Mon Apr 8 21:12:33 2013 UTC (11 years ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored) to selected 1.57 (colored)

Remove some set but unused variables

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:34 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.70: +9 -18 lines
Diff to previous 1.70 (colored) to selected 1.57 (colored)

sync with head

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:36 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.70: +9 -18 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.57 (colored)

merge to -current.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Dec 21 15:27:50 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.57 (colored)

only set CANTRCVMORE if no error.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 20 23:56:29 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.70: +9 -18 lines
Diff to previous 1.70 (colored) to selected 1.57 (colored)

- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
  errors?).

Revision 1.70 / (download) - annotate - [select for diffs], Wed Aug 31 18:31:03 2011 UTC (12 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.57 (colored)

NULL does not need a cast

Revision 1.66.20.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:36 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66.20.1: +5 -5 lines
Diff to previous 1.66.20.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:46 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65.2.1: +85 -79 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.66.22.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:57 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66.22.1: +7 -7 lines
Diff to previous 1.66.22.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.57 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:16 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.68: +7 -7 lines
Diff to previous 1.68 (colored) to selected 1.57 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.66.22.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:59 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.66: +80 -74 lines
Diff to previous 1.66 (colored) to selected 1.57 (colored)

sync with head

Revision 1.66.20.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:15 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.66: +80 -74 lines
Diff to previous 1.66 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:33 2010 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.67: +80 -75 lines
Diff to previous 1.67 (colored) to selected 1.57 (colored)

Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Mar 27 02:33:11 2010 UTC (14 years ago) by pooka
Branch: MAIN
Changes since 1.66: +6 -5 lines
Diff to previous 1.66 (colored) to selected 1.57 (colored)

Access fifoinfo only when it's non-NULL.

Revision 1.62.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:19 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62.6.1: +130 -68 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:25 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.63: +132 -70 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:39 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:08 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored) to selected 1.57 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.65 / (download) - annotate - [select for diffs], Thu Apr 24 15:18:11 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.64: +11 -9 lines
Diff to previous 1.64 (colored) to selected 1.57 (colored)

Fix locking in the fifo kqueue routines.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:37 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.63: +133 -66 lines
Diff to previous 1.63 (colored) to selected 1.57 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:06 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.51.4.6 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:09 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51.4.5: +6 -6 lines
Diff to previous 1.51.4.5 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.57.24.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:03 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.57.24.1: +20 -10 lines
Diff to previous 1.57.24.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.57 (colored)

sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored) to selected 1.57 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.51.4.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:37:00 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51.4.4: +15 -5 lines
Diff to previous 1.51.4.4 (colored) to branchpoint 1.51 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.57.30.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:00 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.57.30.1: +20 -10 lines
Diff to previous 1.57.30.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Feb 11 23:53:32 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.61: +15 -5 lines
Diff to previous 1.61 (colored) to selected 1.57 (colored)

sprinkle KERNEL_LOCK for socket.
a little different version was tested by Matthias Drochner.

Revision 1.51.4.4 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:59 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51.4.3: +7 -6 lines
Diff to previous 1.51.4.3 (colored) to branchpoint 1.51 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 6 21:57:54 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored) to selected 1.57 (colored)

Don't lock the socket to set/clear FNONBLOCK. Just set it atomically.

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:28 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51.4.2: +2 -3 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:15 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored) to selected 1.57 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.57.24.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:01 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.57: +10 -11 lines
Diff to previous 1.57 (colored)

sync with HEAD

Revision 1.57.22.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:31 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.57.22.1: +3 -3 lines
Diff to previous 1.57.22.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.57.30.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:00 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.57: +10 -11 lines
Diff to previous 1.57 (colored)

Sync with HEAD.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:50 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.57 (colored)

Sync with head.

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:04 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51.4.1: +10 -11 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored) to selected 1.57 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Wed Dec 5 17:19:59 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.57 (colored)

Do not "return 1" from kqfilter for errors.  That value is passed
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.

Revision 1.57.22.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:46 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.57: +9 -10 lines
Diff to previous 1.57 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:13 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.57: +9 -10 lines
Diff to previous 1.57 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.55.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:59 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.10.1: +4 -4 lines
Diff to previous 1.55.10.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:28 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.57 (colored)

Sync with head.

Revision 1.57 / (download) - annotate - [selected], Thu Nov 16 01:33:38 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

__unused removal on arguments; approved by core.

Revision 1.55.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:22 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) to selected 1.57 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:26 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) to selected 1.57 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:59 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57 (colored)

sync with head

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:25 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.51: +24 -28 lines
Diff to previous 1.51 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:29 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57 (colored)

Sync with head.

Revision 1.54.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:43 2006 UTC (17 years, 11 months ago) by tron
Branch: peter-altq
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:55 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57 (colored)

sync with head.

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) to selected 1.57 (colored)

integrate kauth.

Revision 1.54.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:34:34 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57 (colored)

Adapt to kernel authorization KPI.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:50 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.53: +17 -16 lines
Diff to previous 1.53 (colored) to selected 1.57 (colored)

merge ktrace-lwp.

Revision 1.41.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:25 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.5: +4 -9 lines
Diff to previous 1.41.2.5 (colored) next main 1.42 (colored) to selected 1.57 (colored)

Sync with HEAD. Here we go again...

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.52: +2 -7 lines
Diff to previous 1.52 (colored) to selected 1.57 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 05:02:38 2005 UTC (18 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.52: +2 -7 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.57 (colored)

adapt specfs and fifofs.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (18 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored) to selected 1.57 (colored)

Remove __P()

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:30 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.57 (colored)

sync with -current

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:30 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.57 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.41.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:49 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.4: +3 -3 lines
Diff to previous 1.41.2.4 (colored) to selected 1.57 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 26 22:59:00 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) to selected 1.57 (colored)

nuke trailing whitespace

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.3: +17 -16 lines
Diff to previous 1.41.2.3 (colored) to selected 1.57 (colored)

Fix the sync with head I botched.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:15 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.2: +16 -17 lines
Diff to previous 1.41.2.2 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:05 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.1: +36 -29 lines
Diff to previous 1.41.2.1 (colored) to selected 1.57 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jul 17 20:53:01 2004 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.49: +18 -16 lines
Diff to previous 1.49 (colored) to selected 1.57 (colored)

Clean up reader/writer counts for the revoke case in fifo_close().

Revision 1.49 / (download) - annotate - [select for diffs], Sat May 22 22:52:14 2004 UTC (19 years, 11 months ago) by jonathan
Branch: MAIN
Changes since 1.48: +7 -5 lines
Diff to previous 1.48 (colored) to selected 1.57 (colored)

Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.

Revision 1.48 / (download) - annotate - [select for diffs], Wed May 12 02:07:37 2004 UTC (19 years, 11 months ago) by jrf
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored) to selected 1.57 (colored)

caddr_t -> void * and removal of some more casts.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 29 16:10:54 2004 UTC (19 years, 11 months ago) by jrf
Branch: MAIN
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored) to selected 1.57 (colored)

Removed remaining caddr_t casts we do not need in miscfs. Recompiled
kernel and ran for a day or so. There are still some caddr_t types in
the arguments of some calls, I will do those separately (later) as
they touch a lot more of the system.
Approved by christos@NetBSD.org.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Apr 8 02:51:45 2004 UTC (20 years ago) by jmc
Branch: netbsd-1-5
Changes since 1.28: +7 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.57 (colored)

Pullup patch (requested by wrstuden in ticket #125)

Handle the case of fifo_close() getting called from vclean(). In that
case, we tear down the node-specific storage as if there were no more open
users. As vclean() will VT_NON the vnode before anyone else will get access
o the vnode, this is our last chance.

Fixes memory leak in revoke(2) path.

Revision 1.33.10.2 / (download) - annotate - [select for diffs], Mon Mar 15 05:34:17 2004 UTC (20 years, 1 month ago) by jmc
Branch: netbsd-1-6
Changes since 1.33.10.1: +8 -3 lines
Diff to previous 1.33.10.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.57 (colored)

Pullup rev 1.46 (requested by wrstuden in ticket #1621)

Handle the case of fifo_close() getting called from vclean().
Fixes memory leak in revoke(2) path.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 6 00:38:29 2004 UTC (20 years, 1 month ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.45: +8 -3 lines
Diff to previous 1.45 (colored) to selected 1.57 (colored)

Handle the case of fifo_close() getting called from vclean(). In that
case, we tear down the node-specific storage as if there were no more open
users. As vclean() will VT_NON the vnode before anyone else will get access
to the vnode, this is our last chance.

Fixes memory leak in revoke(2) path noticed by tedu at openbsd dot org.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Nov 29 10:02:42 2003 UTC (20 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored) to selected 1.57 (colored)

Restore a change that made AF_LOCAL sockets block on connect(2) until
accepted.  However, this time this behavor is not the default.  Instead
it must enabled by using the LOCAL_CONNWAIT socket option on either the
connecting or accepting socket.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 29 06:15:00 2003 UTC (20 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored) to selected 1.57 (colored)

Revert a change that altered the semantics of AF_LOCAL sockets. Sadly
this made us API incompatible with other Unixes.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Sep 3 21:30:14 2003 UTC (20 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored) to selected 1.57 (colored)

Change the behavor of AF_LOCAL connect() to sleep until the server has
accepted the connection.  This can prevent a client from overwhelming a
server.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:34 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (colored) to selected 1.57 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:49 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.41: +13 -13 lines
Diff to previous 1.41 (colored) to selected 1.57 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:39 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.40: +11 -11 lines
Diff to previous 1.40 (colored) to selected 1.57 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:01 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.39: +13 -13 lines
Diff to previous 1.39 (colored) to selected 1.57 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 17 00:06:24 2003 UTC (21 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.57 (colored)

Fix a race condition where a writer could already have closed the fifo
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.

Thanks to Jaromir for spotting the real cause and sugesting a solution.

This should fix PR port-sparc64/20283.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 2 18:54:50 2003 UTC (21 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.37: +4 -5 lines
Diff to previous 1.37 (colored) to selected 1.57 (colored)

use different wmesg for the reader and the writer

Revision 1.30.2.7 / (download) - annotate - [select for diffs], Wed Dec 11 06:46:30 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.30.2.6: +5 -5 lines
Diff to previous 1.30.2.6 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 26 19:01:55 2002 UTC (21 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (colored) to selected 1.57 (colored)

si_ -> sel_

Revision 1.30.2.6 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:44 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.5: +91 -0 lines
Diff to previous 1.30.2.5 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Catch up to -current

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:35 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.35: +93 -2 lines
Diff to previous 1.35 (colored) to selected 1.57 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.30.4.7 / (download) - annotate - [select for diffs], Sun Sep 29 09:58:15 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.4.6: +1 -1 lines
Diff to previous 1.30.4.6 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.57 (colored)

don't need cast to (caddr_t) for kn_hook anymore

Revision 1.30.4.6 / (download) - annotate - [select for diffs], Tue Sep 24 11:47:40 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.4.5: +37 -42 lines
Diff to previous 1.30.4.5 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

shuffle filt_*() to not need forward decls, put all kq related function
and structures together

Revision 1.30.4.5 / (download) - annotate - [select for diffs], Sun Sep 22 11:24:46 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.4.4: +4 -2 lines
Diff to previous 1.30.4.4 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

need to set kn_hook in fifo_kqfilter() (looks like merge botch,
this thing is correct in FreeBSD version)

Revision 1.30.4.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:34 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.4.3: +14 -13 lines
Diff to previous 1.30.4.3 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

sync kqueue branch with HEAD

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:21 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.33: +14 -13 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.57 (colored)

catch up with -current.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:47 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.4: +2 -1 lines
Diff to previous 1.30.2.4 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Catch up to -current.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 26 01:29:53 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, gehenna-devsw-base
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored) to selected 1.57 (colored)

Fix a signed/unsigned comparison warning from GCC 3.3.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:30 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.3: +12 -12 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Catch up to -current.

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Mon Jul 29 14:56:43 2002 UTC (21 years, 8 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.33: +12 -12 lines
Diff to previous 1.33 (colored) to selected 1.57 (colored)

Pull up revision 1.34 (requested by chuq in ticket #566):
we can't use the vnode's v_usecount to track how many times the vnode
has been VOP_OPEN()'d.  if the fifo is being accessed via a layered fs,
v_usecount is always one (representing the hold by the layered vnode)
regardless of how many times the vnode has been opened.  instead, keep a
separate counter for opens.  fixes PR 17195 and probably 17724.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 27 16:43:36 2002 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.33: +12 -12 lines
Diff to previous 1.33 (colored) to selected 1.57 (colored)

we can't use the vnode's v_usecount to track how many times the vnode
has been VOP_OPEN()'d.  if the fifo is being accessed via a layered fs,
v_usecount is always one (representing the hold by the layered vnode)
regardless of how many times the vnode has been opened.  instead, keep a
separate counter for opens.  fixes PR 17195 and probably 17724.

Revision 1.30.4.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:01:33 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.30.4.2: +5 -1 lines
Diff to previous 1.30.4.2 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Sync kqueue branch with -current.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:33:33 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.2: +2 -23 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 6 04:27:41 2001 UTC (22 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.32: +2 -23 lines
Diff to previous 1.32 (colored) to selected 1.57 (colored)

add a VOP_PUTPAGES method for all the filesystems that don't have pages,
just unlock the interlock.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:08 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.1: +4 -1 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

Catch up to -current.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:08 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.57 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Nov 10 13:33:41 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored) to selected 1.57 (colored)

add RCSIDs

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:17 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.30.6.1: +23 -1 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.57 (colored)

Catch up with -current.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:08 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30: +23 -1 lines
Diff to previous 1.30 (colored) to selected 1.57 (colored)

Catch up to -current.
Again.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 22 22:35:18 2001 UTC (22 years, 7 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.30: +23 -1 lines
Diff to previous 1.30 (colored) to selected 1.57 (colored)

Add fifo_putpages() placebo so that the vnode's uobj is unlocked.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Tue Sep 18 19:13:56 2001 UTC (22 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored) to selected 1.57 (colored)

Various changes to make cloning devices possible:

	* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
	  not NULL, specfs will create a cloned (aliased) vnode during
	  the call, and return it there. The caller should release and
	  unlock the original vnode if a new vnode was returned. The
	  new vnode is returned locked.

	* Add a flag field to the cdevsw and bdevsw structures.
	  DF_CLONING indicates that it wants a new vnode for each
	  open (XXX is there a better way? devprop?)

	* If a device is cloning, always call the close entry
	  point for a VOP_CLOSE.


Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@

Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Fri Sep 7 22:01:54 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.30.4.1: +3 -3 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) to selected 1.57 (colored)

More const.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Tue Jul 10 14:00:00 2001 UTC (22 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.30: +95 -1 lines
Diff to previous 1.30 (colored) to selected 1.57 (colored)

add fifo_kqfilter() and filt_fifo*()

Revision 1.27.12.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:43 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.12.2: +81 -83 lines
Diff to previous 1.27.12.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 27 19:52:21 2001 UTC (23 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.29: +81 -83 lines
Diff to previous 1.29 (colored) to selected 1.57 (colored)

convert to ansi knf

Revision 1.27.12.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:58 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27.12.1: +3 -3 lines
Diff to previous 1.27.12.1 (colored) to branchpoint 1.27 (colored) to selected 1.57 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:38 2001 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.57 (colored)

make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.27.12.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:45 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.57 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 30 12:22:13 2000 UTC (24 years ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.57 (colored)

Register, begone!

Revision 1.27 / (download) - annotate - [select for diffs], Sat Oct 31 01:18:41 1998 UTC (25 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored) to selected 1.57 (colored)

Use the so_send and so_receive funcptrs in the socket instead of calling
sosend/soreceive directly.  [I've been meaning to commit these for months.]

Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 3 14:19:59 1998 UTC (25 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored) to selected 1.57 (colored)

Recognize _PC_SYNC_IO.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 1 02:21:30 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.24: +35 -37 lines
Diff to previous 1.24 (colored) to selected 1.57 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:16 1998 UTC (26 years, 1 month ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +90 -69 lines
Diff to previous 1.1.1.2 (colored) to selected 1.57 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:57 1998 UTC (26 years, 1 month ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +220 -146 lines
Diff to previous 1.1.1.1 (colored) to selected 1.57 (colored)

Import 4.4BSD-Lite for reference

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:28:24 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.57 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 9 13:12:01 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.57 (colored)

Make openstr[] const.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 18 12:19:29 1997 UTC (26 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.22: +6 -2 lines
Diff to previous 1.22 (colored) to selected 1.57 (colored)

When reading from an empty FIFO no process has opened for writing, and
O_NONBLOCK is set, return 0.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 13 02:21:29 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.57 (colored)

backout previous kprintf changes

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 10 22:54:04 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored) to selected 1.57 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:11 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +15 -13 lines
Diff to previous 1.19 (colored) to selected 1.57 (colored)

Implement poll(2).

Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 1 23:48:04 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +9 -47 lines
Diff to previous 1.18 (colored) to selected 1.57 (colored)

Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 16 23:52:42 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.57 (colored)

Fix printf format follies.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 9 22:40:16 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.16: +76 -56 lines
Diff to previous 1.16 (colored) to selected 1.57 (colored)

miscfs prototype changes

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 14 23:30:14 1995 UTC (29 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.15: +60 -45 lines
Diff to previous 1.15 (colored) to selected 1.57 (colored)

Allow opening a FIFO with O_RDWR.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 2 19:27:48 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.14: +9 -2 lines
Diff to previous 1.14 (colored) to selected 1.57 (colored)

Emulate SCO behaviour when both FREAD and FWRITE are set, but only for SCO
executables.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 14 18:45:42 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.57 (colored)

Remove a_fp.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 13 20:14:39 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored) to selected 1.57 (colored)

Turn lease_check() into a vnode op, per CSRG.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 14 06:05:45 1994 UTC (29 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.57 (colored)

fixed struct comment

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 29 07:58:48 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.57 (colored)

light clean; make sure headers are properly included, types are OK, etc.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 20 04:26:25 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.57 (colored)

update for new syscall args description mechanism

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:24 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored) to selected 1.57 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 8 11:33:17 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +203 -155 lines
Diff to previous 1.7 (colored) to selected 1.57 (colored)

Update to 4.4-Lite fs code, with local changes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 5 11:34:51 1994 UTC (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) to selected 1.57 (colored)

fix return type for fifo_print

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 18 03:49:25 1993 UTC (30 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +16 -15 lines
Diff to previous 1.5 (colored) to selected 1.57 (colored)

Canonicalize all #includes.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sun Nov 14 22:34:45 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.5.4.1: +16 -15 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.57 (colored)

Canonicalize all #includes.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Nov 10 20:04:49 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.57 (colored)

AF_UNIX --> AF_LOCAL

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:28 1993 UTC (30 years, 10 months ago) by andrew
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.4: +20 -6 lines
Diff to previous 1.4 (colored) to selected 1.57 (colored)

ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 27 15:38:18 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.57 (colored)

make the sleeps on socket open interruptable.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 02:54:13 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.57 (colored)

add $Id$ strings, and clean up file headers where necessary

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 2 20:19:48 1993 UTC (31 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +16 -6 lines
Diff to previous 1.1 (colored) to selected 1.57 (colored)

Jay Fenlason <hack@datacube.com>:

1: the fi_readers and fi_writers fields of the fifoinfo structure were not
being initialized to 0.  This caused the driver to not sleep the first
process to open the fifo--it thought there was already another process to
talk to (most of the time.)

2: fifo_open() was calling tsleep() without unlocking the inode of the fifo
file.  This caused *any* subsequent access to the file (even an ls (!)) to
hang forever.  Note that this bug was usually masked by bug #1 above.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.57 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.57 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>