CVS log for src/sys/dev/kttcp.c
Up to [cvs.NetBSD.org] / src / sys / dev
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.42.36.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:30 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +4 -6
lines
Sync with HEAD
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:50 2024 UTC (2 years, 4 months ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
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,
HEAD
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -6
lines
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
Revision 1.40.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -4
lines
Sync with HEAD
Revision 1.40.14.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:47 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.40.14.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.14.1: +3 -3
lines
Sync with HEAD, resolve a few conflicts
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 22 14:28:56 2018 UTC (7 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
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,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
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-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,
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,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: perseant-exfatfs
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Replace M_ALIGN and MH_ALIGN by m_align.
Revision 1.40.14.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:48 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:30 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.30.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.30.6.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.6.1: +6 -9
lines
update from HEAD
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:08 2016 UTC (10 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +5 -8
lines
Sync with HEAD
Revision 1.37.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:40 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.37.4.2: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.2: +5 -8
lines
Sync with HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Oct 2 14:16:02 2016 UTC (10 years, 1 month ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-compat-base,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
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,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -8
lines
MFREE -> m_free
Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:01 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.1: +3 -3
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:13 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.
No functional change.
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4
lines
Sync with HEAD
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (11 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4
lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +30 -20
lines
Rebase to HEAD as of a few days ago.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:50 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +16 -13
lines
Rebase.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Aug 8 03:05:44 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -6
lines
split PRU_RCVD function out of pr_generic() usrreq switches and put into
separate functions
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_RCVD with calls to
pr_rcvd()
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Aug 5 07:55:31 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4
lines
split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions
xxx_send(struct socket *, struct mbuf *, struct mbuf *,
struct mbuf *, struct lwp *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_SEND with calls to
pr_send()
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs
- l2cap_send() -> l2cap_send_pcb()
- sco_send() -> sco_send_pcb()
- rfcomm_send() -> rfcomm_send_pcb()
patch reviewed by rmind
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -2
lines
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jul 23 13:17:18 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +9 -7
lines
split PRU_SENDOOB and PRU_RCVOOB function out of pr_generic() usrreq
switches and put into separate functions
xxx_sendoob(struct socket *, struct mbuf *, struct mbuf *)
xxx_recvoob(struct socket *, struct mbuf *, int)
- always KASSERT(solocked(so)) even if request is not implemented
- replace calls to pr_generic() with req = PRU_{SEND,RCV}OOB with
calls to pr_{send,recv}oob() respectively.
there is still some tweaking of m_freem(m) and m_freem(control) to come
for consistency. not performed with this commit for clarity.
reviewed by rmind
Revision 1.28.36.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.28.36.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.36.1: +16 -9
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.30.10.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.30.10.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.10.1: +16 -11
lines
sync with head
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 18 14:46:15 2014 UTC (12 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -8
lines
Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.
Bump for struct protosw. Welcome to 6.99.62!
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +13 -4
lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.
I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Aug 29 17:49:21 2013 UTC (13 years, 2 months ago) by rmind
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -7
lines
Remove SS_ISCONFIRMING, it is unused and TP4 will not come back.
Revision 1.30.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 15:21:48 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +14 -10
lines
Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.
Revision 1.28.36.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:25 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -4
lines
sync with head
Revision 1.28.40.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:05 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +5 -4
lines
merge to -current.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Dec 22 02:00:19 2011 UTC (14 years, 10 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
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,
rmind-smpnet
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3
lines
Fix up changes commited in kttcp.c 1.29.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Dec 20 23:56:28 2011 UTC (14 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
errors?).
Revision 1.25.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25.6.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.6.2: +21 -24
lines
Sync with HEAD.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:30 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +21 -24
lines
sync with head.
Revision 1.28.4.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:12 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.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.28.4.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:49:02 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +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.28: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:36 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
yamt-nfs-mp-base,
yamt-nfs-mp,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-pagecache,
wrstuden-revivesa,
jmcneill-usbmp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +21 -24
lines
Merge the socket locking patch:
- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
Revision 1.25.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25.6.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.6.1: +4 -3
lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
as these are always needed.
- convert many, many drivers over to the New Devfs World Order. For a
list of device drivers yet to be converted see,
http://www.netbsd.org/~mjf/devfs-todo.html.
- add a new device_unregister_all(device_t) function to remove all device
names associated with a device_t, which saves us having to construct
device names when the driver is detached.
- add a DEV_AUDIO type for devices.
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:36 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +14 -29
lines
Sync with HEAD.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Mar 27 19:06:51 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -5
lines
Make rusage collection per-LWP and collate in the appropriate places.
cloned threads need a little bit more work but the locking needs to
be fixed first.
Revision 1.16.4.6: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:46 2008 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.5: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.5: +12 -26
lines
sync with head.
Revision 1.24.16.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:35 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -4
lines
sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:59 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -26
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.24.22.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:32 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -4
lines
Sync with HEAD.
Revision 1.16.4.5: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:33 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.4: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.4: +4 -4
lines
sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 6 21:57:54 2008 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Branch point for: mjf-devfs2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Don't lock the socket to set/clear FNONBLOCK. Just set it atomically.
Revision 1.16.4.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:12 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.3: +3 -3
lines
sync with head.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:04 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +3 -3
lines
Sync with HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:42 2007 UTC (19 years, 8 months ago) by christos
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,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.16.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:54 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.2: +2 -3
lines
sync with head.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 18 00:05:38 2007 UTC (19 years, 9 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +4 -26
lines
Pull up following revision(s) (requested by hubertf in ticket #428):
sys/dev/kttcp.c: revision 1.22
share/man/man4/kttcp.4: revision 1.3
Fill manpage with some data, taken from comments in the kernel source
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:26 2007 UTC (19 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.22: preferred, colored
Changes since revision 1.22: +2 -3
lines
Merge newlock2 to head.
Revision 1.18.8.3: download - view: text, markup, annotated - select for diffs
Fri Jan 19 09:39:58 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.18.8.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.2: +2 -3
lines
Acquire proclist_mutex before sending signals.
Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:34 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.8.1: +4 -26
lines
Sync with head.
Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:50 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.1: +8 -29
lines
sync with head.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Dec 28 02:09:49 2006 UTC (19 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: newlock2-nbase,
newlock2-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -26
lines
Fill manpage with some data, taken from comments in the kernel source
Revision 1.18.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:53 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.18.10.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.10.1: +5 -5
lines
sync with head.
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -5
lines
Sync with head.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:45 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5
lines
__unused removal on arguments; approved by core.
Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:28 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -6
lines
sync with head
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:51 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -5
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 8 16:53:43 2006 UTC (20 years, 1 month ago) by rpaulo
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Add missing initializer.
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -2
lines
sync with head
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +28 -25
lines
sync with head.
Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:03 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -2
lines
Sync with head.
Revision 1.17.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:07 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -2
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:36 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -2
lines
sync with head.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 18 18:45:48 2006 UTC (20 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2
lines
quieten GCC uninitialise variable warnings.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:53 2005 UTC (20 years, 11 months ago) by christos
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,
elad-kernelauth
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +26 -25
lines
merge ktrace-lwp.
Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:44 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +4 -4
lines
sync with -current
Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:53 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +4 -4
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:53 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.13.2.5: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.5: +4 -4
lines
Sync with HEAD.
Hi Perry!
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:26:58 2005 UTC (21 years, 8 months ago) by perry
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,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
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,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4
lines
nuke trailing whitespace
Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:25 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.13.2.4: preferred, colored
Changes since revision 1.13.2.4: +26 -25
lines
Fix the sync with head I botched.
Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:28 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.13.2.3: preferred, colored
Changes since revision 1.13.2.3: +24 -25
lines
Sync with HEAD.
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:54 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.13.2.2: preferred, colored
Changes since revision 1.13.2.2: +5 -2
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Apr 22 01:01:40 2004 UTC (22 years, 7 months ago) by matt
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.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Constify protosw arrays. This can reduce the kernel .data section by
over 4K (if all the network protocols) are loaded.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 14 15:47:04 2003 UTC (23 years, 4 months ago) by lukem
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.13: preferred, colored
Changes since revision 1.13: +4 -1
lines
add missing __KERNEL_RCSID()
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 2 21:48:14 2003 UTC (23 years, 4 months ago) by wrstuden
Branches: ktrace-lwp
Diff to: previous 1.13.2.1: preferred, colored
Changes since revision 1.13.2.1: +23 -22
lines
Check in lwp-ification changes needed to get the evbarm/IQ80321 kernel
to compile.
only question I have is over the:
l->l_proc->p_stats->p_ru.ru_msgsnd++;
command at line 245 of dev/kttcp.c. Should we be doing per-lwp or
per-proc accounting?
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:00 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
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.13: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:59 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +29 -29
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 29 11:14:17 2003 UTC (23 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +10 -16
lines
Use "NULL" instead of "(struct foo *)0".
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jun 29 11:12:33 2003 UTC (23 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +26 -26
lines
Fix 'struct lwp *' lossage.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:31 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
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.9: download - view: text, markup, annotated - select for diffs
Wed Feb 26 06:31:09 2003 UTC (23 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Add MBUFTRACE kernel option.
Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *). These are not performance critical and making them
call m_get saves considerable space. Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Feb 25 23:29:14 2003 UTC (23 years, 8 months ago) by briggs
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +17 -3
lines
Play nice with files. Since we are doing an fd_getfile(), make appropriate
use of FILE_USE() and FILE_UNUSE().
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 18 09:45:08 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
Merge the nathanw_sa branch.
Revision 1.4.4.5: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:46 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.4.4.4: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.4: +2 -2
lines
Catch up to -current
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:01 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.4.6.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:19 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.4.6.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.2: +7 -18
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.4.4.4: download - view: text, markup, annotated - select for diffs
Sun Oct 6 02:02:00 2002 UTC (24 years, 1 month ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.4.4.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.3: +2 -1
lines
syscallarg.h need sa.h
Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:19 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.2: +7 -18
lines
Catch up to -current.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -18
lines
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:46 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.1: +721 -0
lines
sync kqueue branch with HEAD
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:33 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +721 -0
lines
Catch up to -current.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:38:28 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +7 -18
lines
Add character device switch.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:09 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +721 -0
lines
catch up with -current.
Revision 1.4.6.1
Wed Jul 3 21:39:41 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.4: +0 -721
lines
file kttcp.c was added on branch kqueue on 2002-09-06 08:43:46 +0000
Revision 1.4.4.1
Wed Jul 3 21:39:41 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.4: +0 -721
lines
file kttcp.c was added on branch nathanw_sa on 2002-08-01 02:44:33 +0000
Revision 1.4.2.1
Wed Jul 3 21:39:41 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
FILE REMOVED
Changes since revision 1.4: +0 -721
lines
file kttcp.c was added on branch gehenna-devsw on 2002-07-15 10:35:09 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 3 21:39:41 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Branch point for: nathanw_sa,
kqueue,
gehenna-devsw
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
Rename SB_UPDATE_TAIL() to SB_EMPTY_FIXUP(), per suggestion from
Jonathan Stone.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 3 19:36:52 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +18 -1
lines
Apply rev. 1.68 of uipc_socket.c to kttcp_soreceive():
Fix 2 bugs with MSG_WAITALL. The first is to not block forever if one is
trying to MSG_PEEK for more than the socket can hold. The second is that
before sleeping waiting for more data, upcall the protocol telling it you
have just received data so it can kick itself to re-fill the just drained
socket buffer.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 3 19:06:47 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +74 -4
lines
Make insertion of data into socket buffers O(C):
* Keep pointers to the first and last mbufs of the last record in the
socket buffer.
* Use the sb_lastrecord pointer in the sbappend*() family of functions
to avoid traversing the packet chain to find the last record.
* Add a new sbappend_stream() function for stream protocols which
guarantee that there will never be more than one record in the
socket buffer. This function uses the sb_mbtail pointer to perform
the data insertion. Make TCP use sbappend_stream().
On a profiling run, this makes sbappend of a TCP transmission using
a 1M socket buffer go from 50% of the time to .02% of the time.
Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging
assistance!
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jun 28 23:27:14 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
This is the "kttcp" network throughput testing pseudo-device. From
the block comment at the top of the file:
This module provides kernel support for testing network
throughput from the perspective of the kernel. It is
similar in spirit to the classic ttcp network benchmark
program, the main difference being that with kttcp, the
kernel is the source and sink of the data.
Testing like this is useful for a few reasons:
1. This allows us to know what kind of performance we can
expect from network applications that run in the kernel
space, such as the NFS server or the NFS client. These
applications don't have to move the data to/from userspace,
and so benchmark programs which run in userspace don't
give us an accurate model.
2. Since data received is just thrown away, the receiver
is very fast. This can provide better exercise for the
sender at the other end.
3. Since the NetBSD kernel currently uses a run-to-completion
scheduling model, kttcp provides a benchmark model where
preemption of the benchmark program is not an issue.
There is a companion "kttcp" user program which uses the kttcp
pseudo-device.
Largely written by Frank van der Linden, with some modifications
from me.
CVSweb <webmaster@jp.NetBSD.org>