CVS log for src/sys/kern/sys_generic.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Jul 10 23:12:12 2022 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +6 -4
lines
readv(2), writev(2): Avoid arithmetic overflow in bounds check.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Sep 11 10:08:55 2021 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +20 -18
lines
sys/kern: Allow custom fileops to specify fo_seek method.
Previously only vnodes allowed lseek/pread[v]/pwrite[v], which meant
converting a regular device to a cloning device doesn't always work.
Semantics is:
(*fp->f_ops->fo_seek)(fp, delta, whence, newoffp, flags)
1. Compute a new offset according to whence + delta -- that is, if
whence is SEEK_CUR, add delta to fp->f_offset; if whence is
SEEK_END, add delta to end of file; if whence is SEEK_CUR, use delta
as is.
2. If newoffp is nonnull, return the new offset in *newoffp.
3. If flags & FOF_UPDATE_OFFSET, set fp->f_offset to the new offset.
Access to fp->f_offset, and *newoffp if newoffp = &fp->f_offset, must
happen under the object lock (e.g., vnode lock), in order to
synchronize fp->f_offset reads and writes.
This change has the side effect that every call to VOP_SEEK happens
under the vnode lock now, when previously it didn't. However, from a
review of all the VOP_SEEK implementations, it does not appear that
any file system even examines the vnode, let alone locks it. So I
think this is safe -- and essentially the only reasonable way to do
things, given that it is used to validate a change from oldoff to
newoff, and oldoff becomes stale the moment we unlock the vnode.
No kernel bump because this reuses a spare entry in struct fileops,
and it is safe for the entry to be null, so all existing fileops will
continue to work as before (rejecting seek).
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:43 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +6 -6
lines
Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
Revision 1.128.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.128.6.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.6.1: +4 -14
lines
update from HEAD
Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:07 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +4 -14
lines
Sync with HEAD
Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:13 2017 UTC (9 years, 5 months ago) by chs
Branches: 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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
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,
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
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +4 -14
lines
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Sep 5 09:20:59 2014 UTC (12 years, 2 months ago) by matt
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: nick-nhusb
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -4
lines
Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
Revision 1.127.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.127.2.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.1: +41 -4
lines
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.128.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:58 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +41 -4
lines
resync from head
Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 20 09:58:23 2013 UTC (13 years, 7 months ago) by bouyer
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
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
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +41 -4
lines
Pull up following revision(s) (requested by martin in ticket #865):
sys/arch/vax/include/disklabel.h: revision 1.7
sys/arch/vax/boot/xxboot/start.S: revision 1.5
sys/sys/bootblock.h: revision 1.55
sys/sys/disklabel.h: revision 1.113
usr.sbin/installboot/arch/vax.c: revision 1.14
usr.sbin/installboot/arch/vax.c: revision 1.15
sys/kern/sys_generic.c: revision 1.129
Revert VAX MAXPARTITION bump to 16, adjusting it to 12 instead. Fix bootblocks
and installboot for VAX 780 and other machines booting via VMB.EXE.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Apr 4 12:51:39 2013 UTC (13 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
khorben-n900
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +41 -4
lines
Provide binary compatibility for architectures that (erroneously) had
a larger MAXPARTITIONS value (and thus larger struct disklabel).
Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 6 16:07:21 2012 UTC (13 years, 11 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +3 -3
lines
Make sure ioctl stkbuf has a minimal alignment of (__ALIGNBYTES+1)
Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:28 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2
lines
sync with head
Revision 1.127.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:33 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +4 -4
lines
merge to -current.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Jan 25 00:28:36 2012 UTC (14 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
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,
netbsd-6,
matt-nb6-plus
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -4
lines
As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE
on EPIPE for all file descriptor types:
- provide O_NOSIGPIPE for open,kqueue1,pipe2,dup3,fcntl(F_{G,S}ETFL) [NetBSD]
- provide SOCK_NOSIGPIPE for socket,socketpair [NetBSD]
- provide SO_NOSIGPIPE for {g,s}seckopt [NetBSD/FreeBSD/MacOSX]
- provide F_{G,S}ETNOSIGPIPE for fcntl [MacOSX]
Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Jul 27 14:35:34 2011 UTC (15 years, 3 months ago) by uebayasi
Branches: 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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -4
lines
These don't need uvm/uvm_extern.h.
Revision 1.124.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:36 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +42 -19
lines
Sync with HEAD.
Revision 1.124.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:09 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.124.4.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.4.1: +1 -9
lines
sync with head
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Apr 10 15:45:33 2011 UTC (15 years, 7 months ago) by christos
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -11
lines
- Add O_CLOEXEC to open(2)
- Add fd_set_exclose() to encapsulate uses of FIO{,N}CLEX, O_CLOEXEC, F{G,S}ETFD
- Add a pipe1() function to allow passing flags to the fd's that pipe(2)
opens to ease implementation of linux pipe2(2)
- Factor out fp handling code from open(2) and fhopen(2)
Revision 1.124.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:21 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +41 -10
lines
sync with head
Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Jan 18 19:52:23 2011 UTC (15 years, 10 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +41 -10
lines
Make struct disklabel 8 byte aligned. This increases its size by 4 bytes
on IPL32 platforms so add code in sys_ioctl (and netbsd32_ioctl) to deal
with the older/smaller diskabel size. This change makes disklabel the
same for both IPL32 and LP64 platforms.
Revision 1.120.12.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:17 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.120.12.1: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.12.1: +2 -2
lines
sync to netbsd-5
Revision 1.118.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:17 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.2.3: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.3: +34 -25
lines
sync with head.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Thu Aug 13 08:57:43 2009 UTC (17 years, 3 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +34 -25
lines
Allow undescribed, direct ioctls as used by Unix. This capability was removed in BSD, presumably because nothing used it any more.
Third party system software written for Unix (like ZFS) requires this to work without significant modifications.
Ok supremeleader@
Revision 1.120.10.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:35 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +11 -12
lines
Sync with HEAD.
Revision 1.118.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:31 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.2.2: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.2.2: +11 -12
lines
sync with head
Revision 1.120.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:49:00 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +10 -11
lines
Pull up following revision(s) (requested by rmind in ticket #811):
sys/kern/sys_generic.c: revision 1.122 via patch
Updates to f_flag need to be made with atomics.
Revision 1.120.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:48:57 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +10 -11
lines
Pull up following revision(s) (requested by rmind in ticket #811):
sys/kern/sys_generic.c: revision 1.122 via patch
Updates to f_flag need to be made with atomics.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun May 24 21:41:26 2009 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -3
lines
More changes to improve kern_descrip.c.
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
It was only being used to synchronize close, and in any case we needed
to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
that we can eliminate the membar_consumer() call in fd_getfile(). This is
mostly syntactic sugar; the main functional change is that fd_nfiles now
lives alongside the open file array.
Some measurements with libmicro:
- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun May 17 10:08:38 2009 UTC (17 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -11
lines
Updates to f_flag need to be made with atomics.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun May 17 05:54:42 2009 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +6 -6
lines
remove FILE_LOCK and FILE_UNLOCK.
Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:48 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.2.1: +5 -5
lines
sync with head.
Revision 1.119.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:31:43 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119.2.2: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.2: +5 -5
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:38:12 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +5 -5
lines
Sync with head.
Revision 1.111.6.3: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:20 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.111.6.2: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.6.2: +3 -3
lines
Sync with HEAD.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Jul 2 16:45:20 2008 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
jym-xensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: netbsd-5-0,
netbsd-5,
jym-xensuspend
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +5 -5
lines
Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to
fd_dup to bool. Switch assignments from 1/0 to true/false.
This make alpha kernels compile. Bump kern to 4.99.69 since structure
changed.
Revision 1.111.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.111.6.1: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.6.1: +4 -11
lines
Sync with HEAD.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:10 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +6 -13
lines
sync with head.
Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:27 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -9
lines
sync with head.
Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:13 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.1: +2 -3
lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.
I think this reduction is very good thing.
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:49:05 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -2
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:04 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:29 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -6
lines
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:
- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.111.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:04 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +33 -612
lines
Sync with HEAD.
Revision 1.83.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:02 2008 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.8: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.8: +32 -604
lines
sync with head.
Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:14 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +6 -13
lines
sync with head.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Mar 23 14:02:49 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -747
lines
Split select/poll into their own file.
Revision 1.105.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:00 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.105.2.2: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.2.2: +6 -13
lines
sync with HEAD
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Mar 22 18:04:42 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +284 -74
lines
Commit the "per-CPU" select patch. This is the result of much work and
testing by rmind@ and myself.
Which approach to use is still being discussed, but I would like to get
this out of my working tree. If we decide to use a different approach
there is no problem with revisiting this.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:55:00 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +45 -82
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Mar 17 18:01:44 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3
lines
Add a boolean parameter to syncobj_t::sobj_unsleep. If true we want the
existing behaviour: the unsleep method unlocks and wakes the swapper if
needs be. If false, the caller is doing a batch operation and will take
care of that later. This is kind of ugly, but it's difficult for the caller
to know which lock to release in some situations.
Revision 1.83.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:34 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.7: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.7: +5 -12
lines
sync with head.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:09:58 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -5
lines
selclear() while exiting netsmb's custom copy of select(). PR kern/38123.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sat Mar 1 14:16:51 2008 UTC (18 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -9
lines
Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will
indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown,
zero may be used.
Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
Revision 1.108.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:47 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.108.4.2: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.2: +10 -10
lines
Sync with HEAD.
Revision 1.83.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:22 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.6: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.6: +37 -37
lines
sync with head
Revision 1.105.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:21 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.105.2.1: preferred, colored
Changes since revision 1.105.2.1: +38 -38
lines
sync with HEAD
Revision 1.109.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:42 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.109.4.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.4.1: +8 -8
lines
Sync with HEAD
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Jan 5 19:08:48 2008 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +10 -10
lines
Use FILE_LOCK() and FILE_UNLOCK()
Revision 1.109.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:12 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +29 -29
lines
Sync with HEAD
Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:09 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.1: +29 -29
lines
Sync with HEAD.
Revision 1.108.6.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:43 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.108.6.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.6.1: +29 -29
lines
Sync with head.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:10 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +29 -29
lines
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
Revision 1.103.6.5: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:25 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.103.6.4: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.6.4: +3 -3
lines
Sync with HEAD.
Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:38 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
Sync with HEAD.
Revision 1.108.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:47 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
Sync with head.
Revision 1.83.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:33:10 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.5: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.5: +3 -3
lines
sync with head
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:06:55 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.
Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:32:24 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +74 -65
lines
sync with HEAD
Revision 1.83.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:35 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.4: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.4: +74 -65
lines
sync with head.
Revision 1.103.6.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:42 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.103.6.3: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.6.3: +42 -71
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:46 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +42 -71
lines
sync with head.
Revision 1.100.2.14: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:22 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.13: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.13: +4 -4
lines
Sync with head.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Oct 8 15:12:08 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +42 -71
lines
Merge file descriptor locking, cwdi locking and cross-call changes
from the vmlocking branch.
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:28:45 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +34 -2
lines
sync with head.
Revision 1.100.2.13: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:11:15 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.12: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.12: +29 -60
lines
- Don't do proc_vmspace_getref() in dofileread() and friends. They only
ever access the caller's vmspace so it's not going to go away. Instead
just use curproc->p_vmspace. Fixes high lock contention during file I/O
by multithreaded processes. Don't pass in lwp_t *l, it's confusing.
- Drain cleaned vnodes from mountpoints just before checking to see
if there are danglers. Cleaned vnodes now stick around on mountpoint
lists until reused, as it's too expensive to pull them off earlier.
Revision 1.103.6.3: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:03 2007 UTC (19 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.103.6.2: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.6.2: +50 -12
lines
Sync with HEAD.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Sep 25 13:53:11 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +34 -2
lines
Add selinit() / seldestroy() from the vmlocking branch.
Revision 1.100.2.12: download - view: text, markup, annotated - select for diffs
Tue Sep 25 13:51:01 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.11: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.11: +5 -3
lines
Update a comment.
Revision 1.97.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 23 21:36:33 2007 UTC (19 years, 1 month ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +10 -6
lines
Sync with somewhat-recent netbsd-4.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 11 09:58:24 2007 UTC (19 years, 2 months ago) by xtraeme
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +10 -6
lines
Pull up following revision(s) (requested by rmind in ticket #869):
sys/kern/sys_generic.c: revision 1.106 via patch
Fix various possible dereferences via uvmspace_free() of non-initialized *vm.
Also, error case might happen before proc_vmspace_getref() (hi <ad>!).
Thanks CID 4551 and 4552. This is serious, pullup will be requested.
OK by <wrstuden>.
Revision 1.103.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 10 10:56:01 2007 UTC (19 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.103.2.1: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.1: +18 -12
lines
Sync with HEAD.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Sep 6 04:00:44 2007 UTC (19 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +18 -12
lines
Fix various possible dereferences via uvmspace_free() of non-initialized *vm.
Also, error case might happen before proc_vmspace_getref() (hi <ad>!).
Thanks CID 4551 and 4552. This is serious, pullup will be requested.
OK by <wrstuden>.
Revision 1.103.6.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:50 2007 UTC (19 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.103.6.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.6.1: +4 -4
lines
Sync with HEAD.
Revision 1.83.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:08 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.3: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.3: +385 -347
lines
sync with head.
Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:23:03 2007 UTC (19 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +13 -64
lines
Sync with HEAD.
Revision 1.100.2.11: download - view: text, markup, annotated - select for diffs
Thu Aug 30 13:10:37 2007 UTC (19 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.10: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.10: +32 -2
lines
Add selinit() and seldestroy(), and use with pipes. Occasionally an LWP
can still be waiting on a object after it has been destroyed.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Aug 27 16:23:16 2007 UTC (19 years, 2 months ago) by dsl
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4
lines
Only ktrace the part of the buffer actually read/written.
Revision 1.100.2.10: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:27:39 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.9: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.9: +13 -64
lines
Sync with HEAD.
Revision 1.103.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:03:38 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +13 -64
lines
Sync with HEAD.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:34 2007 UTC (19 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +13 -64
lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.
Revision 1.100.2.9: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:56 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.8: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.8: +142 -143
lines
Sync with head.
Revision 1.100.2.8: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:45 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.7: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.7: +42 -2
lines
Sync with head.
Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:09 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +376 -287
lines
Sync with head.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:10:56 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +245 -179
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:48:03 2007 UTC (19 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +132 -103
lines
Move the point at which sys_readv and sys_preadv (and writev) get merged
so that the same common code can be used with a kernel-resident 'iov'
array from the 32-bit compat code (which currently has its own copy
of these routines.
Revision 1.100.2.7: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:58:06 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.6: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.6: +8 -14
lines
Sync with head.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Jun 2 13:38:31 2007 UTC (19 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +8 -14
lines
Instead of unconditionally initialising the ktriov and conditionally
copying in aiov, just unconditionally copy in aiov.
Probably saves a mispredicted branch and a data cache miss - as well as
removing some code.
Revision 1.100.2.6: download - view: text, markup, annotated - select for diffs
Sat Apr 28 22:40:04 2007 UTC (19 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.5: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.5: +110 -66
lines
select/poll:
- Don't try to awaken LWPs more than once. Prevents unnecessary locking.
- Tidy slightly.
Revision 1.100.2.5: download - view: text, markup, annotated - select for diffs
Fri Apr 13 15:49:48 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.4: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.4: +10 -2
lines
- Fix a (new) bug where vget tries to acquire freed vnodes' interlocks.
- Minor locking fixes.
Revision 1.100.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 10 12:06:06 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.3: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.3: +10 -22
lines
Tidy slightly.
Revision 1.100.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 10 00:22:12 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.2: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.2: +128 -104
lines
Changes to select/poll:
- Make them MP safe and decouple from the proc locks.
- selwakeup: don't call p_find, or traverse per-proc LWP lists (ouch).
- selwakeup: don't lock the sleep queue unless we need to.
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 23 18:49:09 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.1: +8 -11
lines
Don't kmem_free() kernel stack.
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 21 20:11:52 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +29 -26
lines
- Replace more simple_locks, and fix up in a few places.
- Use condition variables.
- LOCK_ASSERT -> KASSERT.
Revision 1.98.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:41 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.98.2.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.2.1: +18 -18
lines
Sync with HEAD.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:09 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +18 -18
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:30 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -12
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.83.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:16 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.2: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.2: +83 -38
lines
sync with head.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:44 2007 UTC (19 years, 9 months ago) by pavel
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -12
lines
Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.
Restores source compatibility with pre-newlock2 tools like ps or top.
Reviewed by Andrew Doran.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:31 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +74 -29
lines
Merge newlock2 to head.
Revision 1.92.2.7: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:38 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.6: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.6: +2 -10
lines
Sync with head.
Revision 1.92.2.6: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:41 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.5: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.5: +11 -12
lines
Remove support for SA. Ok core@.
Revision 1.92.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:07 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.4: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.4: +2 -2
lines
Sync with head.
Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:06 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83.2.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.1: +47 -26
lines
sync with head.
Revision 1.92.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:44 2006 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.3: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.3: +51 -22
lines
Checkpoint work in progress.
Revision 1.92.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:45 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.92.4.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.4.1: +12 -10
lines
sync with head.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Nov 20 15:16:22 2006 UTC (20 years ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RC1
Branch point for: wrstuden-fixsa,
netbsd-4
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +10 -8
lines
selcommon(), pollcommon(): restore the correct signal mask on failure.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Nov 1 10:17:59 2006 UTC (20 years ago) by yamt
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4
lines
remove some __unused from function parameters.
Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 24 21:44:31 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.2: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.2: +10 -7
lines
Fix a locking botch.
Revision 1.92.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:11 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4
lines
sync with head
Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 21 15:20:47 2006 UTC (20 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.1: +39 -23
lines
Checkpoint work in progress on locking and per-LWP signals. Very much a
a work in progress and there is still a lot to do.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Oct 17 18:21:29 2006 UTC (20 years, 1 month ago) by dogcow
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -10
lines
now that we have -Wno-unused-parameter, back out all the tremendously ugly
code to gratuitously access said parameters.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Oct 13 16:53:36 2006 UTC (20 years, 1 month ago) by dogcow
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +10 -2
lines
More -Wunused fallout. sprinkle __unused when possible; otherwise, use the
do { if (&x) {} } while (/* CONSTCOND */ 0);
construct as suggested by uwe in <20061012224845.GA9449@snark.ptc.spbu.ru>.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:18 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 18:43:43 2006 UTC (20 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +11 -3
lines
Grab proclist_mutex in a few more places.
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:16 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +80 -51
lines
sync with head
Revision 1.85.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:22 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.85.2.2: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.2: +4 -4
lines
sync with head.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Sep 3 06:34:34 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4
lines
use c99 initializers
Revision 1.85.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:46 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.85.2.1: preferred, colored; branchpoint 1.85: preferred, colored
Changes since revision 1.85.2.1: +39 -20
lines
sync with head
Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Jul 14 22:33:27 2006 UTC (20 years, 4 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -4
lines
make inittimeleft() and gettimeleft() available (for e. g. kern_event.c)
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Jul 14 16:02:45 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +39 -51
lines
factor out common code.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jul 14 15:52:44 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +28 -13
lines
- rename sleepts to sleeptv since it is a timeval.
- don't initialize it needlessly.
- fix the poll code the same way the select code was fixed, so that it
computes the remaining time to sleep properly.
Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:51 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +21 -5
lines
Merge from HEAD.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Jul 8 16:01:25 2006 UTC (20 years, 4 months ago) by kardel
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
when adjusting the left over timeout value in selcommon()
do actually subtract the elapsed time instead of adding it.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Jul 8 12:16:09 2006 UTC (20 years, 4 months ago) by kardel
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +21 -5
lines
fix a bug reported by Steven M. Bellovin regarding oversleeping
select(2) timeouts. Introduced via timecounter branch from a
tvtohz() conversion.
The left over timeout was not decremented when re-starting
the sleep in select.
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:52:57 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +13 -23
lines
sync with head.
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:38 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +105 -85
lines
sync with head.
Revision 1.85.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:07:16 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +13 -23
lines
Sync with head.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:40 2006 UTC (20 years, 5 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +13 -23
lines
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.84.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:59 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.84.6.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.6.1: +34 -14
lines
Sync with head.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:21 2006 UTC (20 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
peter-altq-base,
peter-altq,
elad-kernelauth-base,
elad-kernelauth
Branch point for: yamt-pdpolicy,
chap-midi
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +34 -14
lines
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:30:17 2006 UTC (20 years, 9 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +13 -23
lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 31 11:14:01 2005 UTC (20 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +34 -14
lines
uio_segflg/uio_lwp -> uio_vmspace.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:30 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +66 -56
lines
merge ktrace-lwp.
Revision 1.76.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:09:45 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.76.2.5: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.5: +3 -3
lines
Sync with HEAD. Here we go again...
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun May 29 22:24:15 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.81.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:24 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +149 -42
lines
sync with -current
Revision 1.81.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:12 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +149 -42
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.76.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:00 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.76.2.4: preferred, colored
Changes since revision 1.76.2.4: +149 -42
lines
Sync with HEAD.
Hi Perry!
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Feb 25 19:56:07 2005 UTC (21 years, 8 months ago) by matt
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +149 -42
lines
Add the code for pselect and pollts. Add selcommon and pollcommon to
<sys/select.h> and <sys/poll.h>.
Revision 1.76.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:35:12 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.76.2.3: preferred, colored
Changes since revision 1.76.2.3: +66 -56
lines
Fix the sync with head I botched.
Revision 1.76.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:53:03 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.76.2.2: preferred, colored
Changes since revision 1.76.2.2: +56 -66
lines
Sync with HEAD.
Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:55 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.76.2.1: preferred, colored
Changes since revision 1.76.2.1: +15 -52
lines
Sync with HEAD
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Mar 23 13:22:04 2004 UTC (22 years, 7 months ago) by junyoung
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
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,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4
lines
Nuke __P().
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Oct 10 15:24:28 2003 UTC (23 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
use "poll" as the wmesg for poll.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:17:05 2003 UTC (23 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -39
lines
cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl
change discussed on tech-kern@
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Sep 16 15:55:26 2003 UTC (23 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +7 -7
lines
Take into account the possibility that the ktrace flags can change
during a read(v)/write(v). If that happeded, we either passed a NULL
pointer or a pointer to something uninitialized as iov to ktrace,
or we got a memory leak. In read/write (w/o -v) we zero-initialize
the iov now to limit damage, in the -v calls the (dynamically allocated)
pointer is checked after the I/O.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:31:54 2003 UTC (23 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:40 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +70 -60
lines
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.76: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:25 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +58 -68
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:56 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +70 -60
lines
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.74: download - view: text, markup, annotated - select for diffs
Wed May 28 20:02:59 2003 UTC (23 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
Report ioctl read and write the correct way around.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon May 12 15:17:37 2003 UTC (23 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +27 -11
lines
ktrace ioctl data buffers
Optimise structure layout for 'struct selinfo' to avoid padding on 64bit
systems. Use an entire variable for the 'collision' flag for efficiency.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Mar 26 17:50:16 2003 UTC (23 years, 7 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -4
lines
switch to LIST_FOREACH() in selrecord()
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Mar 22 14:13:06 2003 UTC (23 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -4
lines
use LIST_FOREACH() in selwakeup() for the process's lwp walk loop
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Feb 23 14:37:34 2003 UTC (23 years, 8 months ago) by pk
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +14 -6
lines
Make updating a file's reference and use count MP-safe.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 18 10:06:33 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +59 -30
lines
Merge the nathanw_sa branch.
Revision 1.54.2.11: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:43:08 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.54.2.10: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.10: +19 -17
lines
Sync with HEAD.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Nov 30 13:46:58 2002 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -5
lines
Unfortunately, we can't really know if select collision is needed
until after wakeup event, so we can't clear the SI_COLL flag
in selrecord(). Thus, effectively back rev. 1.57 off.
Problem reported in PR kern/17517 by David Laight, program triggering
the problem is in regress/sys/kern/poll/poll3w.c.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Nov 29 19:48:22 2002 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -2
lines
selwakeup(): don't bother with pfind() in SI_COLL case; sel_pid is always zero
in this case, and even if not, the process would be already woken up by the
wakeup() call
change sent as part of kern/17517 by David Laight
XXX perhaps should KASSERT() sel_pid is zero in the SI_COLL case
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Nov 26 18:44:34 2002 UTC (23 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -12
lines
si_ -> sel_ to avoid conflicts with siginfo.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Nov 24 11:37:57 2002 UTC (23 years, 11 months ago) by scw
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +9 -6
lines
Quell uninitialised variable warnings.
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:48:07 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +11 -7
lines
sync kqueue branch with HEAD
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:23:11 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +11 -7
lines
catch up with -current.
Revision 1.54.2.10: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:47:32 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.9: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.9: +8 -4
lines
Catch up to -current.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Aug 25 23:15:21 2002 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -6
lines
Fix some signed/unsigned comparison warnings from GCC 3.3.
Revision 1.54.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:20:07 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.8: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.8: +3 -3
lines
Catch up to -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Aug 8 20:40:25 2002 UTC (24 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3
lines
selscan(): make flag[] const
Revision 1.54.2.8: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:21 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.7: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.7: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:49:35 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +20 -5
lines
catch up with -current on kqueue branch
Revision 1.54.2.7: download - view: text, markup, annotated - select for diffs
Wed May 29 21:33:14 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.6: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.6: +3 -2
lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.
(Behold the Power of Ed)
Revision 1.54.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:47:57 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.5: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.5: +20 -5
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.48.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 28 22:49:02 2002 UTC (24 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.48.4.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.2: +5 -3
lines
Pull up revision 1.62 (via patch, requested by jdolecek):
Make sure file descriptor is properly FILE_UNUSE()d in error case
of writev.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Mar 22 18:58:59 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base,
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,
netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -4
lines
Make sure file descriptor is properly FILE_UNUSE()d in error case
of writev(2).
Problem found by Alistair G. Crooks.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Mar 17 19:41:07 2002 UTC (24 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +16 -3
lines
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:00:05 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -4
lines
Sync kqueue branch with -current.
Revision 1.54.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:32:39 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.4: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.4: +5 -3
lines
Catch up to -current.
Revision 1.48.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 24 14:05:28 2001 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.1: +4 -2
lines
Pull up revision 1.60 (requested by skrll):
Make poll(2) ignore negative file descriptors, which is in line
with the Single Unix Specification.
Revision 1.54.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:41 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.3: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.3: +6 -3
lines
Catch up to -current.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:43:58 2001 UTC (25 years ago) by christos
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -3
lines
Make poll(2) ignore negative file descriptors (Bang Jun-Young).
Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:54 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +6 -3
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Nov 12 15:25:23 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -1
lines
add RCSIDs
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Oct 30 13:37:21 2001 UTC (25 years ago) by itohy
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Fix memory leak if
- ktrace enabled for I/O operaion, and
- readv() causes an error.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:37 2001 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
Commit my "devvp" changes to the thorpej-devvp branch. This
replaces the use of dev_t in most places with a struct vnode *.
This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).
Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:11:38 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.2: +12 -3
lines
Catch up with -current.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Jun 28 05:45:49 2001 UTC (25 years, 4 months ago) by atatat
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
thorpej-devvp,
kqueue
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -2
lines
If no select collision is needed, try our best to avoid it by clearing
the flag.
Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:07:01 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +27 -27
lines
Catch up to -current.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:47 2001 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +25 -26
lines
Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads. What we do is stick descriptors in the table, but
mark them as "larval". This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again. When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.
While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu May 24 06:52:43 2001 UTC (25 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -2
lines
for FIOGETOWN, only change the sign of *data if fo_ioctl returned without error
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:37 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.1: +151 -191
lines
Sync with HEAD.
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:44 2001 UTC (25 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +52 -29
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 27 04:44:51 2001 UTC (25 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1
lines
oops; accidentally dropped an initialisation in pollscan() in previous.
called poll() to fail in interesting ways. noted by chs/nathanw
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Feb 26 22:28:23 2001 UTC (25 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +150 -191
lines
convert to ANSI KNF
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:09:09 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +63 -69
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Aug 21 06:27:59 2000 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
splsched() is appropriate for select()/poll().
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Aug 20 21:50:11 2000 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.
Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Aug 2 20:48:37 2000 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +9 -9
lines
MALLOC()/FREE() are not to be used for variable sized allocations.
Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 01:39:02 2000 UTC (26 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +17 -21
lines
Pull up rev. 1.49:
When select(2)/poll(2) is awakened by a collision, recalculate the
timeout value for tsleep(). From Artur Grabowski <art@stacken.kth.se>.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 13 01:32:33 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +17 -21
lines
When select(2)/poll(2) is awakened by a collision, recalculate the
timeout value for tsleep(). From Artur Grabowski <art@stacken.kth.se>.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat May 27 00:40:47 2000 UTC (26 years, 5 months ago) by sommerfeld
Branches: MAIN
CVS tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -7
lines
Reduce use of curproc in several places:
- Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.
- Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.
- Add a second proc argument for inferior() since callers all had
curproc handy.
Also, miscellaneous cleanups in ktrace:
- ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.
- move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.
- simplify interface to ktrwrite()
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Mar 30 09:27:13 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +31 -31
lines
Get rid of register declarations.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 17 00:01:48 2000 UTC (26 years, 8 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3
lines
build stkbuf out of u_long rather than char for sys_ioctl() to ensure we get an aligned array
Revision 1.44.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:24:04 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +74 -24
lines
Sync w/ -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:09 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +74 -24
lines
Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.
This is necessary in order for multiple processes to safely share file
descriptor tables.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:57 1998 UTC (28 years, 3 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +13 -9
lines
Revert cdevsw mmap routines to return int.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 4 04:03:15 1998 UTC (28 years, 3 months ago) by perry
Branches: MAIN
CVS tags: 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,
chs-ubc-base,
chs-ubc
Branch point for: chs-ubc2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5
lines
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 3 15:01:00 1998 UTC (28 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
UIO_MAXIOV -> IOV_MAX
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jul 31 22:50:51 1998 UTC (28 years, 3 months ago) by perry
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5
lines
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 31 15:38:58 1998 UTC (28 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -5
lines
Reject an iovcnt argument of 0 to readv(), writev(), preadv() and pwritev()
as invalid. This has been stated by the respective manual pages at least
since Net/2, and is the behaviour specified by XSH5.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jul 28 17:58:29 1998 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +31 -7
lines
When checking for overflow in the residual count, test against SSIZE_MAX.
The read/write system calls return ssize_t because -1 is used to indicate
error, therefore the transfer size MUST be limited to SSIZE_MAX, otherwise
garbage can be returned to the user.
There is NO change from existing behavior here, only a more precise
definition of that the semantics are, except in the Alpha case, where
the full SSIZE_MAX transfer size can now be realized (ssize_t is 64-bit
on the Alpha).
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 30 07:39:23 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +98 -36
lines
Split up read/readv/write/writev into the system call front-end and
the guts that actually perform the I/O request.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 30 05:33:12 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +11 -7
lines
Add two additional arguments to the fileops read and write calls, a
pointer to the offset to use, and a flags word. Define a flag that
specifies whether or not to update the offset passed by reference.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jun 25 21:17:17 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1
lines
defopt KTRACE
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:22:32 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -16
lines
Merge with Lite2 + local changes
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:09 1998 UTC (28 years, 8 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +130 -123
lines
Import 4.4BSD-Lite2
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:09:46 1998 UTC (28 years, 8 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +683 -1
lines
Import 4.4BSD-Lite for reference
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 4 21:27:02 1997 UTC (29 years ago) by thorpej
Branches: netbsd-1-3
CVS tags: 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
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +4 -2
lines
Pull up from trunk: Fix syscall argument type bogons.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Nov 4 21:24:17 1997 UTC (29 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2
lines
Fix slight argument bogosity with getgroups(), setgroups(), select(),
and swapctl(). For the former three, they use an 'int' in their user-land
prototype which was a 'u_int' in the kernel, which screwed up automatic
generation/checking of lint syscall stubs. For the latter, the user-land
prototype uses a "const char *", but the syscall just used "char *".
From Chris Demetriou <cgd@pa.dec.com>.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 15 17:04:14 1997 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +36 -32
lines
Adjust u_int arguments of some system calls to int, to match user-level
prototypes.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:23:49 1997 UTC (29 years, 8 months ago) by is
Branches: is-newarp
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +11 -6
lines
Merge in changes from Trunk
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Feb 23 02:23:07 1997 UTC (29 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
is-newarp-before-merge,
bouyer-scsipi
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
in pollscan, cast incoming fd to unsigned int. from mycroft.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 18 04:20:54 1997 UTC (29 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -6
lines
check that fd being poll()ed is valid. from mycroft.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 22 10:21:12 1996 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +17 -17
lines
* catch up with system call argument type fixups/const poisoning.
* Fix arguments to various copyin()/copyout() invocations, to avoid
gratuitous casts.
* Some KNF formatting fixes
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 10 04:33:35 1996 UTC (29 years, 11 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +39 -32
lines
From trunk:
Clean up sys_select() a bit, and make it deal with nfds being larger than
the default FD_SETSIZE.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Sep 7 21:47:23 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Use INFTIM, not -1.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Sep 7 14:20:09 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Modify poll(2) prototype.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 7 12:40:59 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +128 -6
lines
Implement poll(2).
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 5 15:32:52 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -14
lines
Clean up sys_select() slightly.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jun 13 05:08:47 1996 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
in select(), if it's a small number of file descriptors use a
automatic array rather than an array allocated with alloca().
(This was the only use of alloca() in the kernel, and it wasn't
necessary or consistent with the way other functions in this file
work.)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 2 14:48:23 1996 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +30 -22
lines
Deal with FD_SETSIZE larger than the default.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 29 00:25:32 1996 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
kill unnecessary (and sometimes dangerous) casts of ioctl commands to int
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Feb 9 19:00:09 1996 UTC (30 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3
lines
More proto fixes
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:16:53 1996 UTC (30 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +36 -10
lines
First pass at prototyping
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:28:34 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +13 -13
lines
Prefix names of system call implementation functions with `sys_'.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 19 21:45:13 1995 UTC (31 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +31 -25
lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Mar 21 13:33:34 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Update to use timer{add,sub}().
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Dec 11 18:06:13 1994 UTC (31 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Use __timer{add,sub}(), not timeval{add,sub}(). Remove the latter completely.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 30 21:47:48 1994 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -4
lines
be more careful with types, also pull in headers where necessary.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Oct 20 04:23:05 1994 UTC (32 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +100 -97
lines
update for new syscall args description mechanism
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:33:05 1994 UTC (32 years, 4 months ago) by cgd
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +689 -1
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu May 19 06:39:50 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1
lines
update to 4.4-lite
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 7 00:56:46 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1
lines
setrun changes name
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu May 5 05:38:27 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1
lines
lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed May 4 03:42:02 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1
lines
Rename a lot of process flags.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Feb 16 17:23:03 1994 UTC (32 years, 9 months ago) by pk
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1
lines
read(): return EINVAL if `count' argument is negative.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 18 04:21:34 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
Canonicalize all #includes.
Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 14 21:07:14 1993 UTC (33 years ago) by mycroft
Branches: magnum
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +1 -1
lines
Canonicalize all #includes.
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:51:34 1993 UTC (33 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
Make all files using spl*() #include cpu.h. Changes from trunk.
init_main.c: New method of pseudo-device of initialization.
kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe.
softclock() only does callouts.
kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of
averunnable for new struct loadav.
subr_prf.c: Allow printf() formats in panic().
tty.c: averunnable changes.
vfs_subr.c: va_size and va_bytes are now quads.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 15 22:26:11 1993 UTC (33 years, 4 months ago) by cgd
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1
lines
make args & locals of select unsigned where appropriate.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jul 13 22:13:30 1993 UTC (33 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1
lines
break args structs out, into syscallname_args structs, so gcc2 doesn't
whine so much.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 22 01:59:39 1993 UTC (33 years, 5 months ago) by glass
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1
lines
more damn ansi function declarations. damn you chris....
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 14 05:11:58 1993 UTC (33 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
lines
a few changes to select. most notable: don't sleep forever unless
user actually wants to. (it could happen in strange circumstances...)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 13 07:39:32 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
Believe it or not, selrecord() was broken...
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue May 18 18:19:23 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
make kernel select interface be one-stop shopping & clean it all up.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
after 0.2.2 "stable" patches applied
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>