John Baldwin
0f180a7cce
Change msleep() and tsleep() to not alter the calling thread's priority
...
if the specified priority is zero. This avoids a race where the calling
thread could read a snapshot of it's current priority, then a different
thread could change the first thread's priority, then the original thread
would call sched_prio() inside msleep() undoing the change made by the
second thread. I used a priority of zero as no thread that calls msleep()
or tsleep() should be specifying a priority of zero anyway.
The various places that passed 'curthread->td_priority' or some variant
as the priority now pass 0.
2006-04-17 18:20:38 +00:00
Jens Schweikhardt
00d02f943b
Whitespace nits.
2006-04-17 17:55:11 +00:00
Jens Schweikhardt
a8b9bc3be4
Remove a corrupted fortune ending in line noise. Even googling did not
...
turn up a non-corrupted version, else I would have restored it.
(No, it's not the one that uses line noise intentionally.)
2006-04-17 12:14:46 +00:00
Kirill Ponomarev
69b1a1dece
Add INDEX-7 and remove trailing spaces.
...
MFC after: 5 days
2006-04-17 11:15:29 +00:00
Kirill Ponomarev
1b753fc66b
Use bzip2(1) by default to compress package tarball on
...
__FreeBSD_version >= 500039.
Submitted by: Alex Lyashkov <umka@sevcity.net>
MFC after: 5 days
2006-04-17 10:58:45 +00:00
Søren Schmidt
305a0b7123
Add missing ";"
...
found by: jmg
2006-04-17 10:47:01 +00:00
Maxim Konovalov
ae2772f800
o Do not double i/o stats for cd(4) already acounted in g_disk_done().
...
PR: kern/95707
Submitted by: Andre Albsmeier
Reviewed by: phk
MFC after: 2 weeks
2006-04-17 09:12:53 +00:00
Ken Smith
39fac37953
Fix panic() message to give the right function name.
2006-04-17 07:43:56 +00:00
Sam Leffler
d533f717f0
remove some unnecessary perror calls
...
Noticed by: Jouni Malinen
MFC after: 2 weeks
2006-04-17 00:17:29 +00:00
Warner Losh
ebcd52935b
Add missing ~. We want all the INVALID bits to be 0... Let's see if this
...
helps people with their interrupt storm problem on card eject.
2006-04-16 23:16:45 +00:00
Maxim Konovalov
47e065b48f
o De-register local vars.
2006-04-16 22:30:24 +00:00
Maxim Konovalov
3b5ca369a1
o Trim EOL whitespaces and tabs, replace eight w/s by tabs.
...
No functional changes.
2006-04-16 22:28:04 +00:00
Maxim Konovalov
6c3591233a
o Implement Solaris-like -x flag: show extended disk statistics.
...
o Implement Solaris-like -z flag: omit lines for devices with no activity.
o iostat.8: describe -x and -z flags, Xr devstat(3), touch .Dd.
PR: mostly bin/68840, with style changes; bin/73327
Submitted by: Dan Nelson, Peter Schuller
Obtained from: NetBSD (a part of man page)
MFC after: 1 month
2006-04-16 22:23:39 +00:00
John-Mark Gurney
e98b5a89de
remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...
...
move ncsize into debug.sizeof and rename to namecache...
2006-04-16 18:38:30 +00:00
Sam Leffler
4a3ac3fc61
Improve ath_draintxq debug info: dump the packet as well
...
as the descriptor and handle the beacon q like other q's
MFC after: 1 month
2006-04-16 18:24:27 +00:00
Sam Leffler
2af90c547b
Unbreak cabq handling: check the s/w q, not the h/w q as the frames
...
have not been passed to the h/w yet. This remedies watchdog timeout
of buffered multicast frames in hostap mode.
While here eliminate an extraneous check; ieee80211_beacon_update sets
the tim bit based on ncabq != 0 so there's no reason to check it too.
Noticed by: Christophe Prevotaux
2006-04-16 18:14:01 +00:00
Maxim Konovalov
beb66b02a4
o Close an output file -o flag opened before execvp(3) in a child.
...
PR: bin/89666
Submitted by: Arne H Juul
MFC after: 1 month
2006-04-16 17:44:49 +00:00
Maxim Konovalov
9b63b79ee0
o dbm_close(3) returns void not zero or anything else. Touch .Dd.
...
PR: docs/80070
Submitted by: Aleksej Saushev
MFC after: 2 weeks
2006-04-16 16:33:26 +00:00
Maxim Konovalov
a5e8745ad9
o Correct a path to include.
2006-04-16 15:35:12 +00:00
Marius Strobl
f2189783c9
For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",
...
this means they should set the cmpe flag when calling __fpu_compare().
Submitted by: stefanf
MFC after: 2 weeks
2006-04-16 14:32:53 +00:00
Maxim Konovalov
2edf0a4432
o Do not mangle current session user login name with jail -u|-U.
...
PR: bin/94730
Submitted by: Frank Behrens
MFC after: 1 month
2006-04-16 12:32:04 +00:00
Jens Schweikhardt
0ef05a46fd
Correct assorted grammos and typos.
2006-04-16 11:54:01 +00:00
Christian Brueffer
dd09eba412
Fix indentation for "Ostersonntag".
...
Obtained from: OpenBSD
2006-04-16 10:34:56 +00:00
Scott Long
bb141be10a
Take a better stab at making this compile.
2006-04-15 18:54:56 +00:00
Pawel Jakub Dawidek
cd0d707eb7
Correct debug: we are sending child bio here, not parent bio.
...
MFC after: 1 week
2006-04-15 18:30:42 +00:00
Scott Long
83bc5d54c8
Take a stab at making this compile.
2006-04-15 18:04:04 +00:00
Maxim Konovalov
1805d92b32
o Document /dev/fido.
...
PR: docs/85425
Approved by: phk
MFC after: 2 weeks
2006-04-15 17:52:02 +00:00
Maxim Konovalov
26ca704dbd
o s/you health/your health/.
...
PR: conf/95810
Submitted by: Gavin Atkinson
2006-04-15 17:07:32 +00:00
Hajimu UMEMOTO
d3ac2b30d4
- make reentrant version of netdb functions glibc style API, and
...
expose them to outside of libc.
- make netdb functions NSS friendly.
Reviewed by: arch@ and current@ (no objection)
2006-04-15 16:20:27 +00:00
Mitsuru IWASAKI
1b9518293e
Oops, untested code was included accidentally.
...
Fixed.
2006-04-15 16:10:53 +00:00
Daniel Eischen
797f4fb875
Don't export __gdtoa. The only known ports that rely on
...
this or the deprecated POSIX functions {e,g,f}cvt() have
newer versions that do not (rely on them).
Requested by: marius
2006-04-15 15:35:20 +00:00
Maxim Konovalov
6ad8b89261
o Document SO_NOSIGPIPE, touch .Dd.
...
PR: docs/78479
Submitted by: Mikko Tyolajarvi
MFC after: 2 weeks
2006-04-15 13:37:35 +00:00
Mitsuru IWASAKI
858a52f464
Import ACPI Dock Station support. Note that this is still very young.
...
Additional detach implementaions (or maybe improvement) for other
deivce drivers is required.
Reviewed by: njl, imp
MFC after: 1 week
2006-04-15 12:31:34 +00:00
Maxim Konovalov
be9365a9f2
o Fix prototype for SYSCALL_MODULE(9): the third argument
...
is a pointer to struct sysent. Correct its description.
PR: docs/84790
Submitted by: Dirk Gouders
MFC after: 2 weeks
2006-04-15 12:04:18 +00:00
Maxim Konovalov
727e7d8621
o Fix printf(9) formatting: do not use hardcode "0x" and "#" flags
...
simultaneously. Remove "#' flag to match a style of the rest of
file.
PR: kern/85477
Submitted by: Oliver Fromme
2006-04-15 11:41:40 +00:00
Maxim Konovalov
a09367f089
o s/PsuedoRAID/PseudoRAID/.
...
PR: kern/94306
Submitted by: Esa Karkkainen
2006-04-15 10:27:41 +00:00
Maxim Konovalov
089418247a
o Be pedantic and do fts_close() when done.
...
PR: bin/95292
Submitted by: Charles Hardin
Obtained from: NetBSD via OpenBSD, PR
2006-04-15 09:26:23 +00:00
Scott Long
f30cbfc63b
Fix the interrupt handler to do the mandatory PCI flush before looking at
...
DMA memory. The could contribute towards missed link state changes under
heavy bus load.
2006-04-15 08:13:06 +00:00
Xin LI
a2a926dd44
MFen:
...
hardware/common/dev.sgml 1.296 -> 1.299
relnotes/common/new.sgml 1.910 -> 1.911
Obtained from: The FreeBSD Simplified Chinese Project
2006-04-15 05:32:12 +00:00
Robert Watson
086dafc15b
Mirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
...
acquire inpcb lock when reading inpcb port+address in order to prevent
races with other threads that may be changing them.
MFC after: 3 months
2006-04-15 05:24:23 +00:00
John Birrell
992879a026
Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.
...
Approved by: rwatson
2006-04-15 03:08:55 +00:00
Warner Losh
78fd9f198c
Fix style nit noticed by bde.
2006-04-15 02:51:53 +00:00
John Baldwin
76447e5618
Mark the thread pointer used during an adaptive spin volatile so that the
...
compiler doesn't decide to cache td_state. Cachine the state would cause
the spinning thread to not notice when the owning thread stopped executing
(if it was preempted for example) which could result in livelock.
2006-04-14 19:51:50 +00:00
Ruslan Ermilov
1427d59bee
List pwritev in the NAME section.
2006-04-14 19:34:07 +00:00
Jung-uk Kim
566ae23a6f
Fix copy-and-pasto in comment.
2006-04-14 18:34:57 +00:00
Jung-uk Kim
a3ca22fc1f
Fix minimal installation check. 'X' was not displayed when it was selected.
...
Reported by: Ian J. Hart <ianjhart at ntlworld dot com>
Pieter de Goeje <pieter at degoeje dot nl>
2006-04-14 18:18:43 +00:00
Andrey A. Chernov
1107d0af30
1) Fix hang at the end of line buffer (PR 95715)
...
2) Localize
PR: 95715
Submitted by: Li-Lun Wang <llwang@infor.org> (slightly edited by me)
2006-04-14 17:32:27 +00:00
Matteo Riondato
1fe5a490ab
Whitespace fix
...
Pointed out by: Nate Lawson
2006-04-14 17:26:04 +00:00
Søren Schmidt
3559734cee
Dont poll for ATA_IDLE on a detached channel in suspend.
2006-04-14 16:25:42 +00:00
Doug Ambrisko
bc971e44ed
Reduce the Linux ioctl range to what is needed. I didn't know what
...
I was doing when I first set the range up.
2006-04-14 16:13:28 +00:00