ad
fe8aceeb5e
More MPSAFE syscalls.
2008-01-07 16:15:36 +00:00
ad
8b52263cd1
Hold kernel_lock across IFNET_FOREACH().
2008-01-07 16:13:49 +00:00
ad
77e0b2120f
Patch up sysctl locking:
...
- Lock processes, credentials, filehead etc correctly.
- Acquire a read hold on sysctl_treelock if only doing a query.
- Don't wire down the output buffer. It doesn't work correctly and the code
regularly does long term sleeps with it held - it's not worth it.
- Don't hold locks other than sysctl_lock while doing copyout().
- Drop sysctl_lock while doing copyout / allocating memory in a few places.
- Don't take kernel_lock for sysctl.
- Fix a number of bugs spotted along the way
2008-01-07 16:12:52 +00:00
christos
0c134a3f67
Fix -D option, from Jukka Salmi
2008-01-07 16:10:57 +00:00
ad
eb4920235a
Don't drop vnode refs until we are done with the mount.
2008-01-07 16:08:46 +00:00
apb
ee83c29560
Disable parallel make, because the interaction between the
...
$(am__ELCFILES) and elc-stamp targets is extremely unfriendly to
parallel make. More details in a comment in the file.
2008-01-07 15:17:04 +00:00
tsutsui
2b341ae01b
Add timecounter(9) support for mvme68k.
...
Based on a patch from Garrett D'Amore and several tweaks by me.
Compile tested only, but reviewed by joerg@ and
no objection from scw@ on port-mvme68k.
2008-01-07 14:39:28 +00:00
joerg
7f4f83c80c
Shared clock.c with amiga, so it supports generic time counter.
2008-01-07 13:55:36 +00:00
jmcneill
a62d13ab5f
acpica 20071219 is out; note that we are now at 20070320
2008-01-07 13:25:58 +00:00
ad
a32939fca4
bwrite, bdwrite: bufcache_lock must be held for reassignbuf.
2008-01-07 12:50:38 +00:00
ad
297c776822
Make VFS_SYNC() and friends functions, and have them acquire kernel_lock
...
if the FS is not marked MPSAFE.
2008-01-07 12:34:12 +00:00
njoly
e5e170b198
Regen.
2008-01-07 12:12:12 +00:00
njoly
0dbd478087
Remove wrong linux32_sys_mmap2_args define.
2008-01-07 12:11:52 +00:00
yamt
48a1e4cf46
pthread_curcpu_np: map LWPCTL_CPU_NONE to 0 so that this works in the case
...
of _lwp_ctl failure.
2008-01-07 11:51:43 +00:00
yamt
2e8a5bee68
lwp_ctl_alloc: fix error handling.
2008-01-07 11:41:29 +00:00
simonb
cfde7482cd
Actually return the computed uptime in microuptime(). Fixes many
...
wierd timing issues on non-timecounter ports (tested on sbmips, and
omap ARM by Marty Fouts).
Also move the microtime() inside the splclock() block in the same
function - it may be possible for the "time" variable to be updated
after the call to microtime() but before we use it to calculate the
offset from mono_time.
2008-01-07 10:28:07 +00:00
martti
7e40665ceb
Fixed indentation, it should be
...
option<space><tab>
makeoption<space><tab>
2008-01-07 08:39:03 +00:00
martti
a678f921c8
Fixed option indentation, it should be
...
option<space><tab>
makeoption<space><tab>
2008-01-07 08:30:03 +00:00
apb
74bc6bcb6f
Add more detail in comments about maximum size of environment and
...
arguments passed by xargs(1) to execvp(2). Research done while
investigating PR 37666, which is not a problem in -current.
2008-01-07 08:20:52 +00:00
dyoung
73b30d3cfe
Define some "special" values of register MMCR_WPVMAP.
2008-01-07 08:01:45 +00:00
dyoung
40fec83596
Delete unused mips_ipl_si_to_sr[].
2008-01-07 07:28:14 +00:00
dyoung
cb1ed32e14
Update AR5312 interrupt masks along the same lines as the AR5315.
2008-01-07 07:14:37 +00:00
dyoung
b82c6f8442
Cosmetic: re-number the comments on elements of ipl_sr_bits[].
2008-01-07 07:12:06 +00:00
dyoung
189256ad32
Make this compile again by making changes similar to the changes
...
that ad@ made to arch/mips/alchemy/au_icu.c. Compiles and runs,
but this probably deserves a looksie by someone with more MIPS
clue.
2008-01-07 06:55:32 +00:00
dyoung
b82e361f77
Use pmf(9). Use device_t and device_private().
2008-01-07 06:53:08 +00:00
tnn
303f9ebb5b
Make the ACPI_MADT_DEBUG code compile again.
2008-01-07 06:04:07 +00:00
tnn
51f964a289
softdep_freefile: don't acquire ufsmount lock twice.
2008-01-07 05:20:25 +00:00
uwe
e97e9077cc
Note landisk import date.
2008-01-07 05:02:38 +00:00
uwe
f38b1e35de
Now that sh3 has didicated interrupt stack we can check for cpu_intr_p
...
with simple sp comparison, so we can drop ci_idepth.
2008-01-07 05:00:12 +00:00
uwe
b786c078f9
Add endif comment for __HAVE_FAST_SOFTINTS.
2008-01-07 04:43:54 +00:00
uwe
1e0e088d60
cpu_intr_p - we can simply check if we are running on the interrupt stack.
2008-01-07 04:41:40 +00:00
ad
d534bbfa2e
Really, remove last vestiges of simplelock debugging.
2008-01-07 01:55:15 +00:00
ad
907a6a54db
Fix dodgy assertions. From Anders Hjalmarsson.
2008-01-07 00:43:27 +00:00
ad
b439191858
Remove vestiges of simplelock debugging.
2008-01-07 00:27:35 +00:00
ad
de5c0b29ed
Build kobj_machdep.c if MODULAR.
2008-01-07 00:26:32 +00:00
bjs
521d96c676
The stamp mutex is not unsafe, so remove this comment so people don't get the wrong idea. ok ad@
2008-01-07 00:25:19 +00:00
ad
9202b67eca
Overzealous; pull in machine/lock.h again.
2008-01-07 00:20:18 +00:00
uwe
d8f0d4be74
Catch up with new option to dev/pckbport/wskbdmap_mfii.c
2008-01-07 00:19:08 +00:00
martin
5d0a5ce934
Use WEXITSTATUS() on wait() results. From David Laight.
2008-01-06 21:53:08 +00:00
ad
80f35bef49
#include <sys/mutex.h>
2008-01-06 20:53:06 +00:00
skrll
7fd0ed6a92
Improve hp700 install notes somewhat.
...
Actually build and install a SYSNBSD.
2008-01-06 20:16:24 +00:00
christos
03f11859f6
don't show cpu number on single processor machines for the threads display too.
2008-01-06 19:59:22 +00:00
christos
d879c8360a
defflag one moe variable.
2008-01-06 19:42:33 +00:00
martin
3c255188f8
Only remove the dbfile if no filename was given via -f
2008-01-06 19:42:32 +00:00
christos
d1b79165fa
clamp min/max values properly.
2008-01-06 19:42:03 +00:00
mhitch
c04c9a55d0
Add timecounter support and borrow counter-based delay from i386.
...
From joerg; testing and final tweaks by me.
2008-01-06 18:50:29 +00:00
martin
890508dbe9
argh, I did not intend to remove all declarations of physmem.
2008-01-06 18:35:24 +00:00
martin
ae4518d415
Remove superflouse extern decls.
2008-01-06 18:24:06 +00:00
martin
fb8f17133f
Move the mutex_init of pmap_lock even later into pmap_init().
...
This makes LOCKDEBUG kernels work again.
2008-01-06 18:07:16 +00:00
ad
0805a9416a
Add MODULAR option. Include kernel linker stuff if MODULAR.
2008-01-06 18:03:58 +00:00