206279 Commits

Author SHA1 Message Date
jym
4f3abdf86a ps/l shows LWP name, not command name. 2011-10-23 22:02:45 +00:00
jym
81797b4067 Turn a workqueue(9) name into an array in the struct workqueue, rather
than a const char *. This avoids keeping a reference to a string
owned by caller (string could be allocated on stack).
2011-10-23 21:41:23 +00:00
agc
e01460c073 Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

        othersrc/external/bsd/iscsi/sys/dev/iscsi

to

        src/sys/dev/iscsi
2011-10-23 21:15:02 +00:00
agc
75a17f3ce7 Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

	othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

	src/sbin/{iscsictl,iscsid}
2011-10-23 21:11:23 +00:00
christos
1f1b5ad097 Don't block SIGTRAP so that on architectures where the debugger needs to
be able to receive sigtrap for breakpoints to work, it can. For example
we are setting breakpoints inside dlopen(), after we've blocked the signal,
so the process keep trapping and looping over the trap instruction without
being able to send the signal. Another way would be to move the
_rtld_debug_state() calls outside the critical section...
2011-10-23 21:06:07 +00:00
christos
6a96f344c7 Fixed misplaced parenthesis (Nirbhay Choubey) 2011-10-23 17:37:55 +00:00
jym
0f329bf765 Like ddb(4) "ps/l", use '>' sign to indicate running LWPs for the /w
modifier.
2011-10-23 13:30:20 +00:00
tsutsui
a61d3c89b5 Calling psignal(9) (via EV_WAKEUP()) in interrupt handlers
could cause mutex error panic, so defer it via softint(9).
This should fix panic on heavy key strokes during running Xserver.

Should be pulled up to netbsd-5.

XXX: amiga and atari might have the similar problem?
2011-10-23 13:21:54 +00:00
jym
ec3546779a Document "show proc". Be more verbose about commands that print
information about processes especially the '>' sign (e.g. LWP is
currently running).

Bump date. Straight from Hackathon@ESPCI.
2011-10-23 13:20:59 +00:00
jmcneill
4face1e160 PR #32894: protection fault trap in tmx86_get_longrun_mode
Use rdmsr_safe in tmx86_init_longrun to verify that the MSRs are present.
2011-10-23 13:02:32 +00:00
hannken
113be15313 VOP_GETATTR() needs a shared lock at least. 2011-10-23 08:42:06 +00:00
jdc
d5f801e0ef Correct the VSYNC-related register definitions and rework how they are used
(only when the monitor supports composite sync).  OK macallan@.
2011-10-23 06:06:24 +00:00
manu
df227937ba openlog with LOG_NDELAY so that pzerfused does not deadlock later
on vnode recycling because it wants to log a message.

Patch from Manuel Bouyer.
2011-10-23 05:03:37 +00:00
manu
aec8bd3191 perfuse memory usage can grow quite large when using a lot of vnodes,
and the amount of data memory involved is not easy to forcast. We therefore
raise the limit to the maximum.

Patch from Manuel Bouyer. It helps completing a cvs update on a glusterfs
colume.
2011-10-23 05:01:00 +00:00
jmcneill
7bd854f074 hook xsetwallpaper into xorg build 2011-10-22 22:23:50 +00:00
christos
66744c9484 Put a recursion limit to avoid DoS attacks (Maksymilian Arciemowicz)
While there do minor KNF, and do as the manual says: exit with EXIT_FAILURE
2011-10-22 22:08:47 +00:00
jmcneill
1bccf4c76b add makefile for xsetwallpaper 2011-10-22 22:06:17 +00:00
mrg
f3383e2258 fix a build issue with MKCRYPTO=no. 2011-10-22 21:13:25 +00:00
mrg
9d03b8ef4c add a comment to sp_tlb_flush() about fixing the asm() better. 2011-10-22 21:00:40 +00:00
mrg
2ac8591757 note about sparc64 enterprise Exx00 support and initial fujitsu support. 2011-10-22 20:59:12 +00:00
jmcneill
dfe6df62e0 DPADD hw/xfree86/common 2011-10-22 14:40:41 +00:00
tron
84030af9c0 Fix build with stack smash protection enabled. 2011-10-22 10:41:50 +00:00
jmcneill
fa6db268de try to match sys/kern/kern_module.c module path logic: for release branches,
use X.Y version (instead of eg. X.Y.0_PATCH or X.Y_STABLE) and for -current use X.Y.Z.
ok zafer@
2011-10-22 00:05:17 +00:00
joerg
10769988ef Add support for build as part of the toolchain. Add option for
deterministic output (-p), which replaces the random seed with a
incremental counter.
2011-10-21 23:47:11 +00:00
joerg
1669bc8401 sys/endian.h might not exist in the src/tools case 2011-10-21 23:45:56 +00:00
dyoung
48db56b4bc Tell a pci(4) instance its subordinate PCI buses using a new member
in the pcibus_attach_args, pba_sub. pciN attaches to pba_bus itself.
If pba_bus < pba_sub, then [pba_bus + 1, pba_sub] are subordinate to
pba_bus.

On i386, make mainbus0 attach pci0 with pba_sub = 255 because all buses
1 and up must be subordinate to pci0.

XXX Deal with other architectures.
2011-10-21 21:35:28 +00:00
christos
eaa3f157e9 Put back support for non PIC. 2011-10-21 17:57:45 +00:00
chs
ed58cde6e4 add PIC support. 2011-10-21 15:08:41 +00:00
wiz
cf9612053b Minor improvements. 2011-10-21 12:58:53 +00:00
christos
9e0e05693b Forgot to commit this. 2011-10-21 12:10:31 +00:00
jmcneill
382b7a822b synchronize the guest clock with the host on attach and resume 2011-10-21 10:10:28 +00:00
christos
924cacedb8 Remove stale proc_compare code and use the shared one in libutil. 2011-10-21 02:26:09 +00:00
christos
c85216986a Add proc_compare.3 2011-10-21 02:11:18 +00:00
christos
cdcc8530f0 Add a version of proc_compare that works both for kernel and userland
(and uses the same algorithm!)
2011-10-21 02:09:00 +00:00
christos
0c971d48ea extract broken proc_compare. lwp compares against self. 2011-10-21 02:08:09 +00:00
christos
d9fa914332 add proc_compare prototype. 2011-10-21 02:07:07 +00:00
christos
b51eeccc62 Add proc_compare 2011-10-21 02:05:36 +00:00
christos
c9db7e91c5 Don't use = to assing SRCS, but += so that we can remove snprintb.c,
which was added elsewhere.
2011-10-21 01:37:59 +00:00
christos
2bfe4d4dcb simplify. 2011-10-21 00:41:34 +00:00
macallan
736de382c2 include opt_voyager.h 2011-10-20 22:04:10 +00:00
jmcneill
d99f77faf2 mark vm_reg members as volatile instead of building this with -O0 2011-10-20 20:13:54 +00:00
njoly
0ab97f9b6a New testcase that check for close-on-exec flag on pipe2 syscall. 2011-10-20 18:20:30 +00:00
njoly
1e6fc1abb1 Do call fd_set_exclose() on both file descriptors, to set the
close-on-exec flag.
2011-10-20 18:18:21 +00:00
jruoho
696ee57527 Add the relevant datasheets to SEE ALSO. 2011-10-20 13:54:38 +00:00
jruoho
e23dd3f620 Remove code that is commented out and out-of-sync with x86. If Xen needs to
use cpu_resume(), cpu_suspend(), or cpu_shutdown() in the future, it is
better to expose these from x86 rather than duplicate code.
2011-10-20 13:21:11 +00:00
njoly
c7188eceb8 Use .In macro. 2011-10-20 12:14:12 +00:00
wiz
9ec9f2859c Use Aq instead of \*[Lt]...\*[Gt] 2011-10-20 10:36:42 +00:00
jruoho
1e1471bd00 Xref mstohz(9) and tvtohz(9) with each other. 2011-10-20 09:31:00 +00:00
jruoho
77e84d0e62 Initialize P-states to P0 (i.e. the highest frequency). 2011-10-20 06:57:23 +00:00
jruoho
5d9e77ad94 Do not use xcall(9) in cpufreq_register(9), as it requires kthreads to be
running and may impose hacks like config_interrupts(9) in the backend.
2011-10-20 06:48:24 +00:00