pooka
51dbd2b805
add braces for symmetry
2009-01-04 18:41:36 +00:00
tsutsui
2c79796d32
Use binuptime(9) and emulate 1GiHz (2^30) counter rather than
...
nanouptime(9) and 1GHz counter to avoid extra rescaling.
Suggested and reviewed by kardel@.
2008-11-25 23:10:43 +00:00
tsutsui
953d0b8986
In machclk functions always emulate 1GHz counter using nanotime(9)
...
since it has enough resolution via timecounter(9).
Using machine dependent cpu_counter() is not MP safe
and it won't work even on UP with Speedstep etc.
No particular comment on tech-kern, and also closes PR kern/39835.
2008-11-25 15:59:10 +00:00
ad
50e2f52a23
Use MI cpu_counter() interface.
2008-05-10 15:11:10 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
pooka
96356ccdfd
init tbr_callout in all cases (hi ad!)
2007-09-04 14:17:16 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
he
ee019f102d
Use mtod(m, char*) when doing pointer arithmetic on the result.
...
Patch from Andreas Wrede.
2007-03-05 22:50:32 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
peter
bc26ed070a
Don't enable ALTQ in altq_pfattach. Enabling/disabling of ALTQ is already
...
done in the pf(4) code (pf_ioctl.c).
From OpenBSD.
2006-10-15 13:17:13 +00:00
peter
463fbff409
Only compile in pf specific code when pf is configured.
...
Fixes kernel build when ALTQ is configured and pf not.
2006-10-13 09:57:28 +00:00
peter
dd191f37f3
Merge the peter-altq branch.
...
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
christos
d53df8e839
Use malloc/free instead of MALLOC/FREE and M_ZERO instead of memset.
2006-04-23 06:46:39 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
christos
2cd9243922
- kill bzero/bcopy
...
- defopt stats and settings, removing their definitions from the files
- make code compile by eliminating multicharacter constants!?! and rearranging
variable declarations so they are defined before used!?!
- help gcc with uninitialized variables
2003-11-09 22:11:12 +00:00
jdolecek
e1d97e2232
replace cpu_tsc_freq with curcpu()->ci_tsc_freq
2002-10-09 07:28:57 +00:00
itojun
ac36f7cb2c
bring in latest ALTQ from kjc. ALTQify some of the drivers.
2002-03-05 04:12:57 +00:00
lukem
a13b5687d9
add RCSIDs
2001-11-12 23:08:56 +00:00
itojun
1c48caeb1e
fix IPv4 fragment handling in the classifier.
...
report and fix by "Paul Koster" <list@kosteronline.net>
sync with kame
2001-09-10 06:34:57 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
thorpej
f5370ce2cc
Don't need <vm/vm.h> (it doesn't exist in -current).
2000-12-14 18:08:08 +00:00
thorpej
d1c86a60e0
No need to wrap these in #ifdef ALTQ -- they're not even included
...
if ALTQ is not configured into the kernel.
2000-12-14 18:07:30 +00:00
thorpej
2dfc514990
Add NetBSD RCS IDs.
2000-12-14 08:49:49 +00:00
thorpej
68de460f39
Import ALTQ from KAME.
2000-12-14 08:42:28 +00:00