CVS log for src/sys/kern/vfs_lockf.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Sep 23 18:21:11 2023 UTC (14 months, 1 week ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +12 -35
lines
Repply this change with a couple of bugs fixed:
- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one of my
test systems this makes for a small (~1%) but repeatable reduction in system
time during builds presumably because it decreases the kernel's cache /
memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Sep 12 16:17:21 2023 UTC (14 months, 2 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +45 -12
lines
Back out recent change to replace pool_cache with then general allocator.
Will return to this when I have time again.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Sep 10 14:45:52 2023 UTC (14 months, 3 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +12 -45
lines
- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one of my
test systems this makes for a small (~1%) but repeatable reduction in system
time during builds presumably because it decreases the kernel's cache /
memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Nov 25 16:15:39 2022 UTC (2 years ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
kern/vfs_lockf.c: Parenthesize to make arithmetic match check.
We verified start + (fl->fl_len - 1) would not overflow, but then
computed (start + fl->fl_len) - 1 instead, and it is possible for
start + fl->fl_len to overflow before we subtract 1.
Reported-by: syzbot+762480b00cb14085f63a@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=d69313b2460a12715315f9f5f74fbe44b8bc38ba
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:09:13 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -3
lines
kern/vfs_lockf.c: Fix overflow in overflow detection.
Reported-by: syzbot+cda9440741a1516747c8@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=030eb71324790093d467799263cd0789e5097229
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Jul 1 01:04:01 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +12 -4
lines
vfs(9): Avoid arithmetic overflow in lf_advlock.
syzbot+897abbbe59467cbf6e98@syzkaller.appspotmail.com
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Apr 16 18:15:22 2022 UTC (2 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3
lines
fix various typos in comments and log messages.
Revision 1.73.60.1: download - view: text, markup, annotated - select for diffs
Tue Sep 7 17:12:21 2021 UTC (3 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +4 -4
lines
Pull up following revision(s) (requested by manu in ticket #1343):
share/man/man7/sysctl.7: revision 1.153
sys/kern/vfs_lockf.c: revision 1.74
lib/libc/sys/fcntl.2: revision 1.46
lib/libc/sys/flock.2: revision 1.23
Tie the maximum file lock per unprivilegied uid to kern.maxfiles
This makes the limit simple to raise at run time. While there, document
that fcntl(2) and flock(2) may return ENOMEM when this limit is reached.
Revision 1.73.72.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:39 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +4 -4
lines
Sync with HEAD.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Jul 27 09:32:55 2021 UTC (3 years, 4 months ago) by manu
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
Tie the maximum file lock per unprivilegied uid to kern.maxfiles
This makes the limit simple to raise at run time. While there, document
that fcntl(2) and flock(2) may return ENOMEM when this limit is reached.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:40 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +8 -8
lines
Sync with HEAD.
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:25 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +8 -8
lines
sync with head
Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:00 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +8 -8
lines
Sync with HEAD
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Jan 31 08:25:32 2011 UTC (13 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
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,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
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,
nick-nhusb,
netbsd-9-base,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
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,
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,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-pre-base2,
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,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
cherry-xenmp-base,
cherry-xenmp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
agc-symver-base,
agc-symver,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-i2c-spi-conf,
netbsd-9
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
Fix build with LOCKF_DEBUG on LP64 platforms; from Alexander Nasonov
in PR 44490.
Revision 1.69.10.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:19 2010 UTC (14 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.69.10.2: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.10.2: +15 -8
lines
sync to netbsd-5
Revision 1.69.4.3: download - view: text, markup, annotated - select for diffs
Sat Sep 5 11:36:29 2009 UTC (15 years, 3 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.69.4.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.2: +15 -8
lines
Pull up following revision(s) (requested by dsl in ticket #900):
sys/kern/vfs_lockf.c: revision 1.72
lockf() passes its arguments through to fcntl() but is supposed to
support -ve lengths (lock area before current offset).
Nothing in libc or the kernel allowed for this, so some random part
of the file would get locked (no idea which bits).
Although this could probably be fixed in libc, the stubs for posix file
locks for emulations could easily get into the kernel with -ve lengths.
So fixing in the kernel avoids those problems.
This also fixes PR/41620 (attempting to lock negative offsets) - which
is what I was looking into!
Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:17 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +15 -8
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Aug 5 19:39:50 2009 UTC (15 years, 4 months ago) by dsl
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,
bouyer-quota2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +15 -8
lines
lockf() passes its arguments through to fcntl() but is supposed to
support -ve lengths (lock area before current offset).
Nothing in libc or the kernel allowed for this, so some random part
of the file would get locked (no idea which bits).
Although this could probably be fixed in libc, the stubs for posix file
locks for emulations could easily get into the kernel with -ve lengths.
So fixing in the kernel avoids those problems.
This also fixes PR/41620 (attempting to lock negative offsets) - which
is what I was looking into!
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:35 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +28 -11
lines
Sync with HEAD.
Revision 1.69.10.2: download - view: text, markup, annotated - select for diffs
Wed Jul 1 22:49:53 2009 UTC (15 years, 5 months ago) by snj
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.69.10.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.10.1: +27 -11
lines
Pull up following revision(s) (requested by rmind in ticket #842):
sys/kern/vfs_lockf.c: revision 1.71
don't make F_GETLK or the common case of F_UNLCK fail for per-user limit.
Revision 1.69.4.2: download - view: text, markup, annotated - select for diffs
Wed Jul 1 22:49:43 2009 UTC (15 years, 5 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.69.4.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.4.1: +27 -11
lines
Pull up following revision(s) (requested by rmind in ticket #842):
sys/kern/vfs_lockf.c: revision 1.71
don't make F_GETLK or the common case of F_UNLCK fail for per-user limit.
Revision 1.69.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 1 22:45:13 2009 UTC (15 years, 5 months ago) by snj
Branches: netbsd-5-0
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2
lines
Pull up following revision(s) (requested by rmind in ticket #840):
sys/kern/vfs_lockf.c: revision 1.70
lf_split: cv_destroy a condvar before clobbering it.
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 1 22:45:03 2009 UTC (15 years, 5 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2
lines
Pull up following revision(s) (requested by rmind in ticket #840):
sys/kern/vfs_lockf.c: revision 1.70
lf_split: cv_destroy a condvar before clobbering it.
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:32 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +28 -11
lines
sync with head
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jun 10 22:34:35 2009 UTC (15 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +27 -11
lines
don't make F_GETLK or the common case of F_UNLCK fail for per-user limit.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jun 10 22:23:15 2009 UTC (15 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2
lines
lf_split: cv_destroy a condvar before clobbering it.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:49 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +49 -34
lines
sync with head.
Revision 1.61.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:20 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.3: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.6.3: +1 -0
lines
Sync with HEAD.
Revision 1.65.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:29 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +7 -11
lines
Sync with HEAD.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Oct 11 13:40:57 2008 UTC (16 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
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,
ad-audiomp2-base,
ad-audiomp2
Branch point for: netbsd-5-0,
netbsd-5,
jym-xensuspend
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -2
lines
Move uidinfo to its own module in kern_uidinfo.c and include in rump.
No functional change to uidinfo.
Revision 1.61.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:54 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.6.2: +4 -9
lines
Sync with HEAD.
Revision 1.64.4.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:31:45 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.4.1: +6 -11
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Aug 11 02:44:28 2008 UTC (16 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -9
lines
lf_setlock: g/c dead code.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Aug 7 07:42:06 2008 UTC (16 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -2
lines
memcpy'ing a sleepq (TAILQ) doesn't work.
Re-init the condvar after memcpy'ing so that the TAILQ is valid.
regress/sys/kern/lockf now completes rather than failing in cv_wait_sig
with KASSERT(cv_has_waiters()).
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Aug 1 07:11:24 2008 UTC (16 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4
lines
Improve the debug output ever so slightly.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:52 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +44 -25
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:40 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.1: +44 -25
lines
sync with head
Revision 1.61.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:14 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.6.1: +46 -27
lines
Sync with HEAD.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed May 28 13:35:32 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: haad-dm
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +44 -25
lines
PR kern/38355 lockf deadlock detection is broken after vmlocking
- Fix it; tested with Sun's libMicro.
- Use pool_cache.
- Use a global lock, so the deadlock detection code is safer.
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:11 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -6
lines
sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:24 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp,
wrstuden-revivesa
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -6
lines
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:05 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +10 -10
lines
Sync with HEAD.
Revision 1.45.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:03 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.5: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.5: +10 -10
lines
sync with head.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:15 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +10 -10
lines
sync with head.
Revision 1.60.8.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:02 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.60.8.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.8.1: +10 -10
lines
sync with HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Mar 18 02:49:15 2008 UTC (16 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -2
lines
need <sys/atomic.h> now.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Mar 17 21:16:03 2008 UTC (16 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +9 -10
lines
- Replace uihashtbl_lock and struct uidinfo::ui_lock with atomic operations.
This make uid_find(), chgproccnt(), chgsbsize() and lf_alloc(), lf_free()
functions lock-less.
- Increase the size of uihashtbl in case of MP system, as suggested by <ad>.
- Add HASH_SLIST type for hashinit().
Reviewed by <ad>.
Revision 1.60.14.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:48 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +19 -16
lines
Sync with HEAD.
Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:32 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.4: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.4: +19 -16
lines
sync with head
Revision 1.60.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:30 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +19 -16
lines
sync with HEAD
Revision 1.60.20.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:23 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +19 -16
lines
Sync with HEAD
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:56 2008 UTC (16 years, 11 months ago) by ad
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.60: preferred, colored
Changes since revision 1.60: +19 -16
lines
Merge vmlocking2 to head.
Revision 1.60.16.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:20 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +19 -16
lines
Pull the vmlocking changes into a new branch.
Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:21 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.3: +10 -12
lines
sync with head.
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:22 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +8 -10
lines
Sync with head.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:10:57 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-armv6,
bouyer-xeni386
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -10
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.58.2.4: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:36 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.3: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.3: +10 -12
lines
- Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
Revision 1.58.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 13 15:41:07 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.2: preferred, colored
Changes since revision 1.58.2.2: +13 -10
lines
Use condition variables.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:56:07 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +3 -3
lines
sync with head.
Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:01 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.1: preferred, colored
Changes since revision 1.58.2.1: +7 -7
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:51:59 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:35 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:46 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Sync with HEAD.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:11 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:21 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +9 -6
lines
sync with head.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:32 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +9 -6
lines
Merge newlock2 to head.
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:07 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +12 -11
lines
sync with head.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 21 15:20:47 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +9 -6
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.48.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:17 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +77 -32
lines
sync with head
Revision 1.48.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:22 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.48.8.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.8.2: +4 -4
lines
sync with head.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:28 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
rpaulo-netinet-merge-pcb-base,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: newlock2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4
lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
Revision 1.48.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:47 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.48.8.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.8.1: +10 -9
lines
sync with head
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:12 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +10 -9
lines
Use the LWP cached credentials where sane.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:39 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +71 -27
lines
sync with head.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:07:16 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +66 -23
lines
Sync with head.
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:10 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +69 -25
lines
Sync with head.
Revision 1.48.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:42 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +69 -25
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:42 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +69 -25
lines
sync with head.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat May 20 12:20:55 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +8 -9
lines
remove NOLOCKF and use normal NULL instead.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat May 20 12:19:30 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +0 -2
lines
remove an debug printf slipped into the previous.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat May 20 12:06:20 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +26 -12
lines
fix F_SETLKW deadlock detection, which has been broken since lwpify.
although this doesn't work for processes with multiple lwps, it's better
than not working at all.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat May 20 12:04:21 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -1
lines
make lockfpool static.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat May 20 12:02:47 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +32 -0
lines
move lockf implementation details from sys/lockf.h to kern/vfs_lockf.c.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 14 21:15:12 2006 UTC (18 years, 6 months ago) by elad
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -4
lines
integrate kauth.
Revision 1.48.10.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:31 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.48.10.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.10.1: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:53:41 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4
lines
Adapt to kernel authorization KPI.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Dec 24 19:12:23 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:30 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2
lines
merge ktrace-lwp.
Revision 1.32.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:09:46 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.6: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.6: +436 -445
lines
Sync with HEAD. Here we go again...
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 11:58:11 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -3
lines
sync with head.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Oct 28 15:37:23 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3
lines
use ap->a_flags instead of fl->f_type; pointed out by: Devon H. O'Dell
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Jun 5 23:10:25 2005 UTC (19 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop,
yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +423 -440
lines
Re-arrange slighty, eliminate prototypes that are unnecessary when using
ANSI function decls with "static".
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun May 29 22:24:15 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4
lines
- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 22 15:54:47 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -5
lines
No 0x in front of %p...
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon May 9 23:40:20 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -3
lines
don't unlock twice.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon May 9 11:10:07 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -6
lines
lock all uses of uidhash. provide macros to lock and unlock. based on more
discussions with yamt.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat May 7 17:42:09 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +11 -5
lines
PR/30154: YAMAMOTO Takashi: tcp_close locking botch
chgsbsize() as mentioned in the PR can be called from an interrupt context
via tcp_close(). Avoid calling uid_find() in chgsbsize().
- Instead of storing so_uid in struct socketvar, store *so_uidinfo
- Add a simple lock to struct uidinfo.
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:24 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +64 -18
lines
sync with -current
Revision 1.32.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:30:57 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.5: preferred, colored
Changes since revision 1.32.2.5: +61 -15
lines
Sync with HEAD.
Revision 1.36.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:20 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.36.6.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.6.1: +61 -15
lines
sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Mar 25 22:48:23 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base4,
kent-audio2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
Don't free the wrong lock. Pointed out by Konrad Schroder
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Mar 20 19:16:33 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +61 -15
lines
Keep track and limit the number of locks per uid. From OpenBSD
Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:12 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:03 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.4: preferred, colored
Changes since revision 1.32.2.4: +5 -5
lines
Sync with HEAD.
Hi Perry!
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Feb 26 21:34:56 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5
lines
nuke trailing whitespace
Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 29 07:24:51 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.3: preferred, colored
Changes since revision 1.32.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 19 14:18:53 2004 UTC (20 years ago) by peter
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
Fix a typo, dependancy -> dependency
ok wiz@
Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:35:17 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.2: preferred, colored
Changes since revision 1.32.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:53:04 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:59 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +20 -26
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Apr 25 16:42:41 2004 UTC (20 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +18 -20
lines
Initialise (most) pools from a link set instead of explicit calls
to pool_init. Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.
Convert struct session, ucred and lockf to pools.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Oct 25 09:13:41 2003 UTC (21 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
fix uninitialized variable
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:32:02 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +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.32: download - view: text, markup, annotated - select for diffs
Wed Jun 25 14:34:55 2003 UTC (21 years, 5 months ago) by yamt
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -8
lines
revert rev.1.28. (free -> FREE changes)
pointed by David Laight on source-changes about similar changes.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat May 3 15:02:54 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2
lines
Make gcc3 happy ("label at end of compound statement").
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat May 3 11:19:05 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -6
lines
get pointer to v_interlock directly
as we are not interested in the rest of the vnode here.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu May 1 15:25:06 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +26 -26
lines
- KNF.
- remove unneeded caddr_t casts.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu May 1 14:59:51 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -8
lines
use FREE instead of free for MALLOC'ed memory.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu May 1 14:36:43 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +77 -27
lines
MP locking.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 1 13:14:49 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -5
lines
remove a part of comment that isn't true anymore.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu May 1 13:06:59 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +23 -42
lines
ANSIfy.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 1 12:49:17 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +25 -11
lines
don't export lockf internal functions.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:28:22 2003 UTC (21 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +23 -22
lines
DANGER WILL ROBINSON!
We cannot store LWP pointers permanently in lock structures, for two reasons:
1) They are somewhat ephemeral. Dangling pointers are bad.
2) A different LWP may issue the unlock, and in this case, we were not actually
doing the unlock at all. This was causing processes to exit without undoing
fcntl(2) locks. Furthermore, the locks are process-specific to begin with,
so the test was just plain wrong.
Instead, we go back to storing a proc pointer for POSIX locks. In addition, we
add an extra pointer to the LWP, which is used in deadlock detection. After
the lock is granted, this pointer is 0ed and there is no reference to the LWP.
Now evolution can inc my mail again.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:45 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2
lines
Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jan 18 10:06:37 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +24 -11
lines
Merge the nathanw_sa branch.
Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:14:11 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.2.5: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.5: +1 -3
lines
Catch up to -current
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Oct 22 03:32:17 2002 UTC (22 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -5
lines
"ovcase" is set but not used in lf_getblock(); remove it.
Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:21 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.1: +8 -9
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:22:29 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +8 -9
lines
Catch up to -current.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Sep 4 01:32:47 2002 UTC (22 years, 3 months ago) by matt
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -9
lines
Use the queue macros from <sys/queue.h> instead of referring to the queue
members directly. Use *_FOREACH whenever possible.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:24 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:11:07 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +4 -4
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:00:19 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:48 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +4 -1
lines
Catch up to -current.
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:01 2001 UTC (23 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -1
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Nov 12 15:25:38 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
newlock-base,
newlock,
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,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
add RCSIDs
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:48 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +24 -10
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.14.12.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:09:16 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +72 -40
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 30 20:38:51 2000 UTC (24 years, 4 months ago) by jdolecek
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +8 -10
lines
Pullup from trunk (approved by thorpej):
Change lf_advlock() to:
int lf_advlock (struct vop_advlock_args *, struct lockf **, off_t)
This matches it's usage. Change inspired by FreeBSD, though we use
off_t instead u_quad_t as the last argument.
sys/lockf.h rev. 1.9
msdosfs/msdosfs_vnops.c rev. 1.99
kern/vfs_lockf.c rev. 1.17
miscfs/specfs/spec_vnops.c rev. 1.49
nfs/nfs_vnops.c rev. 1.115
ufs/ext2fs/ext2fs_vnops.c rev. 1.28
ufs/ufs/ufs_vnops.c rev. 1.72
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 22 15:26:13 2000 UTC (24 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
nathanw_sa,
kqueue
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -10
lines
change the lf_advlock() arguments from
int lf_advlock __P((struct lockf **,
off_t, caddr_t, int, struct flock *, int));
to
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, off_t));
This matches common usage and is also compatible with similar change
in FreeBSD (though they use u_quad_t as last arg).
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Tue Jun 27 15:22:32 2000 UTC (24 years, 5 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +66 -32
lines
Pull up revisions 1.15-1.16 (requested by sommerfeld):
Fix several problems with byte-range locks, including the one
reported in PR#3860.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:09:21 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +47 -13
lines
Sync w/ netbsd-1-5-base.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jun 12 14:33:06 2000 UTC (24 years, 5 months ago) by sommerfeld
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +47 -13
lines
Fix several problems with lockf/fcntl byte range locks:
- document a data structure invariant in lockf.h
- add KASSERT() to check the invariant.
- be more consistent about dequeuing ourselves from the blocked list
after a tsleep().
- Fix two places where the invariant is violated.
- correct a few comments here and there
- If we're still following a lock dependancy chain after maxlockdepth
processes and haven't gotten back to the start, assume that we're in a
cycle anyway and return EDEADLK.
Fix is a superset of an existing fix in FreeBSD, but independantly
derived.
Fixes kern/3860.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 30 09:27:14 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +20 -20
lines
Get rid of register declarations.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:59 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +4 -4
lines
Revert cdevsw mmap routines to return int.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Aug 4 04:03:19 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kenh-if-detach-base,
kenh-if-detach,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base,
chs-ubc2,
chs-ubc-base,
chs-ubc
Branch point for: thorpej_scsipi,
netbsd-1-4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
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.13: download - view: text, markup, annotated - select for diffs
Fri Jul 31 22:50:53 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:22:35 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +44 -68
lines
Merge with Lite2 + local changes
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 10 23:46:18 1997 UTC (27 years, 7 months ago) by jtk
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
bouyer-scsipi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -13
lines
make it compile with -DLOCKF_DEBUG
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Apr 2 18:42:46 1997 UTC (27 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -11
lines
Moved the `unlocking a lock-free inode' shortcut behind
the l_whence and starting offset sanity checks.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:32:51 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +20 -20
lines
backout previous kprintf change
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:46:39 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -20
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:18:21 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -7
lines
First pass at prototyping
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 19 23:45:03 1995 UTC (29 years, 8 months 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.5: preferred, colored
Changes since revision 1.5: +19 -19
lines
Use %p.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:33:55 1994 UTC (30 years, 5 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.4: preferred, colored
Changes since revision 1.4: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 19 06:13:50 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +30 -17
lines
Update to 4.4-Lite, plus some local changes.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 19 05:04:07 1994 UTC (30 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2
lines
stupidity for prototypes...
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 25 03:49:43 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4
lines
some prototype cleanup, eliminate/replace bogus types (e.g. quad and
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Mar 9 21:23:50 1994 UTC (30 years, 9 months ago) by ws
Branches: MAIN
Make FFS optional
CVSweb <webmaster@jp.NetBSD.org>