hubertf
71c7af227e
Fix RCS Id, pointed out by Slava Semushin in private mail
2008-04-24 17:33:34 +00:00
ad
caba38b804
Catch up with process locking changes.
2008-04-24 17:02:18 +00:00
njoly
436fa0ef05
Add IPC_64 support for semctl IPC_STAT/IPC_SET.
2008-04-24 16:42:54 +00:00
jmcneill
806f625216
Gracefully handle a condition where apic id >= X86_MAXPROCS rather than
...
panicing.
2008-04-24 15:59:57 +00:00
ad
6d70f903e6
Network protocol interrupts can now block on locks, so merge the globals
...
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:
- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
2008-04-24 15:35:27 +00:00
ad
ef9411cb09
Fix locking in the fifo kqueue routines.
2008-04-24 15:18:11 +00:00
ad
c2deaa264e
xc_broadcast: don't try to run cross calls on CPUs that are not yet running.
2008-04-24 13:56:30 +00:00
martin
f9b83801e8
Make it compile if !COMPAT_OSOCK
2008-04-24 13:30:52 +00:00
ad
a19f51efee
4.99.61: socket locking patch merged, goodbye SYCALL_MPSAFE.
2008-04-24 11:52:53 +00:00
ad
026542bb25
Regen.
2008-04-24 11:51:47 +00:00
ad
30abe39468
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
...
all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.
2008-04-24 11:51:18 +00:00
nonaka
262e51f19f
fix typo.
2008-04-24 11:46:30 +00:00
ad
15e29e981b
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@.
2008-04-24 11:38:36 +00:00
he
157c460048
Need to include <powerpc/psl.h> and <powerpc/frame.h> here to get
...
PSL_EE and struct intrframe defined. Fixes build problem for evbppc
EV64260 kernel.
2008-04-24 11:36:51 +00:00
ad
fff5f20c25
- Give ci_want_resched a single cache line, and align. This is for monitor/
...
mwait. At least one errata sheet from Intel notes that a single line
should be used.
- Align cc_microtime.
2008-04-24 11:26:52 +00:00
he
f80749c192
This file needs <sys/signal.h> included, so that siginfo_t and
...
ucontext_t are properly defined before they're used.
2008-04-24 10:03:08 +00:00
he
c2d45b948a
This file needs <machine/cpu.h> included, for the ALPHA_PSL_IPL_*
...
constants it uses.
2008-04-24 10:01:37 +00:00
sborrill
cbfd0202cd
It's only a typo in a comment, but it reduces the number of diffs in my local
...
tree :-)
2008-04-24 08:51:06 +00:00
skrll
0cef8c99e4
Split the DDB trace stuff into its own file.
2008-04-24 07:28:30 +00:00
dyoung
52440afe4e
Don't cast memset(3) to void. Remove a needless cast to struct
...
in6_addr *.
2008-04-24 05:29:40 +00:00
thorpej
c7ece08d20
net.atalk, not net.at.
2008-04-24 04:09:50 +00:00
thorpej
40edcfedc2
Note which things are not available by KVM, and print a nice message
...
stating so if someone specifically asks for it.
2008-04-24 04:09:27 +00:00
thorpej
9af7365b12
Make note of a few things no longer available via kvm.
2008-04-24 03:46:25 +00:00
christos
a2fe0ba0a1
Fix a header decode mistake that caused mime header lines decoded by
...
hfield() to be decoded as if they were "unstructured" regardless of
their type. This resulted from calling mime_decode_hfield() with the
body of the header line, i.e., the portion after the colon header
field name terminator, rather than the full header line.
From Anon Ymous
2008-04-24 01:27:06 +00:00
christos
f6889916d7
Make this compile again, from Jan-Benedict Glaw jbglaw at lug-owl dot de
2008-04-23 23:34:11 +00:00
xtraeme
49a45b73c5
DRM_SPINLOCK() wants a spin mutex, it may be called from interrupt
...
context. Switch it to IPL_VM.
2008-04-23 20:21:50 +00:00
he
1505dea7e8
Ensure that offsetof() is in scope by including <sys/systm.h>.
...
Fixes build problem found while building swapnetbsd.o for XEN3_DOM0.
2008-04-23 15:57:38 +00:00
thorpej
2654d13326
netns is no longer in the tree; completely purge it from netstat(1).
2008-04-23 15:35:37 +00:00
thorpej
d2d995427e
Make DDP stats per-cpu. While here, bump the counters to 64-bit and
...
make them available by sysctl.
2008-04-23 15:17:42 +00:00
ad
9fc1984c89
Unconditionally acquire kernel_lock for bitrotted darwin emulation.
2008-04-23 14:24:37 +00:00
ad
bfb6f31431
Disable bitrotted linux ptrace interfaces, which are likely now a
...
security hole. Can be re-enabled at runtime. If you want to repair
them please look at the native implementation.
2008-04-23 14:18:50 +00:00
ad
dd55791531
Regen.
2008-04-23 14:10:03 +00:00
ad
7cb840338e
-SYCALL_MPSAFE
2008-04-23 14:07:49 +00:00
ad
1265474f26
sys_kill -> sys__lwp_kill
2008-04-23 14:01:09 +00:00
ad
f1b58cdc9b
Sprinkle locks.
2008-04-23 13:58:06 +00:00
ad
98c2709959
Sprinkle locking.
2008-04-23 13:51:48 +00:00
ad
dc31d7f7e9
sys_kill -> sys__lwp_kill
2008-04-23 13:49:21 +00:00
ad
494c1ad8d6
Fix locking.
2008-04-23 13:44:46 +00:00
ad
8d0205c623
Grab kernel_lock for cpu_reboot().
2008-04-23 13:40:17 +00:00
tsutsui
968ad4b4c3
Since device_t is split out from softc, we have to allocate struct device
...
separately after allocating struct lsi64854_softc to fake it. (untested)
"lsc->sc_dev is not initialized" is pointed out by martin@.
2008-04-23 13:37:19 +00:00
ad
e0b56ca8f5
Fix locking.
2008-04-23 13:34:44 +00:00
ad
6bf00a454d
Catch up with linux.
2008-04-23 13:30:41 +00:00
tsutsui
3b31064c9a
Split softc/device_t and misc cleanup for sn(4).
2008-04-23 13:29:44 +00:00
ad
c8ff5c0c50
kmutex_t * -> void *, to avoid MD header fallout.
2008-04-23 13:19:44 +00:00
martin
3a3709e6c1
Include psl.h to provide the details of ipl_cookie_t
2008-04-23 13:14:11 +00:00
ad
ce69e3e9c8
Fix locking.
2008-04-23 13:13:25 +00:00
ad
d0466d413e
Tweak locking.
2008-04-23 13:11:42 +00:00
ad
bb0c94d223
Tweak previous.
2008-04-23 13:09:40 +00:00
ad
14f88acc9b
Fix locking.
2008-04-23 13:02:32 +00:00
ad
1e216688e1
- Use cdev_tty().
...
- Tweak locking.
2008-04-23 12:55:16 +00:00