alc
279c442e7b
Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc().
...
Change the spelling of the "catch" option to be consistent with the new
options. Implement the "no wait" option. An implementation of the "CPU
private" for i386 will be committed at a later date.
2004-11-08 00:43:46 +00:00
njl
ddc1dfe834
Add power profile support so that the LCD changes brightness levels based
...
on the AC line state.
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
MFC after: 1 week
2004-11-07 23:18:23 +00:00
rwatson
ab85f61559
Add basic critical section tracing to KTR using event type KTR_CRITICAL.
...
This generates a KTR event for each critical section entered and exited.
It would be desirable to also log the filename and line number of the
source entering or exiting the critical section, but this requires
hacking up the critical section API, so I've not done that yet.
2004-11-07 23:11:32 +00:00
cognet
e9b8703c85
Add device mem in config files.
2004-11-07 23:02:15 +00:00
cognet
103e95586e
Import md bits for mem(4) on arm.
...
While I'm there, cleanup a bit pmap.h.
2004-11-07 23:01:36 +00:00
kan
e8fd5617c5
Remove trailing whitespace.
...
Pointed out by: ru
2004-11-07 22:49:20 +00:00
phk
52da2f8e34
Introduce fdclose() which will clean an entry in a filedesc.
...
Replace homerolled versions with call to fdclose().
Make fdunused() static to kern_descrip.c
2004-11-07 22:16:07 +00:00
phk
878fd8dde7
filedesc0 is an internal detail of the kernel, don't look at it.
2004-11-07 20:38:29 +00:00
rwatson
185ec80b05
Do some re-sorting of TCP pcbinfo locking and assertions: make sure to
...
retain the pcbinfo lock until we're done using a pcb in the in-bound
path, as the pcbinfo lock acts as a pseuo-reference to prevent the pcb
from potentially being recycled. Clean up assertions and make sure to
assert that the pcbinfo is locked at the head of code subsections where
it is needed. Free the mbuf at the end of tcp_input after releasing
any held locks to reduce the time the locks are held.
MFC after: 3 weeks
2004-11-07 19:19:35 +00:00
hrs
71269597af
Trim the relnotes items added before 5.3-RELEASE.
2004-11-07 18:17:38 +00:00
hrs
91c7ceba8b
Bump &release.manpath.netbsd; to 1.6.2.
2004-11-07 18:12:57 +00:00
krion
686571ff85
Document "loader_color" variable.
...
PR: conf/73396
Submitted by: Aleksander Fafula <alex at fafula dot com>
Approved by: scottl
2004-11-07 17:01:08 +00:00
cognet
913f8c4e59
MFKernel: Implement ffs with clz on Xscale.
2004-11-07 16:54:54 +00:00
cognet
964bf9d8f7
Implement ffs with clz for Xscale.
...
Idea taken from: NetBSD
2004-11-07 16:53:29 +00:00
cognet
ce94b57ab1
Remove useless code.
2004-11-07 16:51:33 +00:00
phk
cad3685bce
Use fget_locked() instead of homerolled
2004-11-07 16:09:56 +00:00
phk
e65c41f01e
More sensible FILEDESC_ locking.
2004-11-07 15:59:27 +00:00
phk
02a22fcc9e
Move fdinit() related stuff from .h to .c
2004-11-07 15:34:45 +00:00
cognet
c35b680996
Don't abuse tp->t_sc in sl(4) either.
2004-11-07 14:36:47 +00:00
cognet
13ca89b942
Don't abuse tp->t_sc, as it is now used by tty drivers.
...
This fixes the panic that occurs when using ppp(4)
Reported and tested by: Yann Berthier (yb at sainte-barbe dot org)
2004-11-07 14:35:53 +00:00
kan
4bdb4a9e2f
Reconnect c++filt to the build.
2004-11-07 13:46:56 +00:00
kan
d28d463543
Unbreak c++filt. It was disconnected from the build and never fixed during
...
GCC 3.4.2 work unintentioanlly.
Reminded by: bms
2004-11-07 13:46:16 +00:00
brueffer
72adffa0b8
Avoid second person usage.
...
Obtained from: OpenBSD
MFC after: 1 week
2004-11-07 13:40:27 +00:00
phk
418eb9d34b
Allow fdinit() to be called with a NULL fdp argument so we can use
...
it when setting up init.
Make fdinit() lock the fdp argument as needed.
2004-11-07 12:39:28 +00:00
des
7cec18a141
Install in /usr/local/bin.
2004-11-07 11:09:44 +00:00
njl
d8a46083bd
Add comments to clarify why we need to run shutdown code on the BSP, update
...
an old comment about boot() being MI, and note that splhigh() no longer
disables interrupts.
2004-11-07 06:58:45 +00:00
dd
df15e501af
Reflect that -h takes an argument and belatedly bump .Dd for addition of -h
2004-11-07 04:34:37 +00:00
dd
52c96fe09a
Make the usage message match reality about -h and -w.
2004-11-07 04:32:51 +00:00
hrs
a370ddf254
Fix the release date of 5.3-RELEASE.
2004-11-07 03:55:47 +00:00
phk
296b8c7706
When we open /dev/null for stdin/out/err for safety reasons, do it right:
...
we should preserve f_data and f_ops if they are already set.
2004-11-06 23:36:09 +00:00
alc
6314cca720
Eliminate an unnecessary atomic operation. Articulate the rationale in
...
a comment.
2004-11-06 21:48:45 +00:00
kientzle
4dc09ab3c8
FreeBSD does have uintmax_t, so it can correctly
...
print out very large file sizes.
Thanks to: Yar Tikhiy
2004-11-06 18:38:13 +00:00
phk
b877b7a042
Get even closer to not crashing ext2fs
2004-11-06 18:24:33 +00:00
phk
dc2dab730a
Get closer to unbreaking ext2fs
2004-11-06 18:18:58 +00:00
delphij
d6d53b5cee
ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean.
...
This commit does not affect the code generated, as proven by md5'ing
resulting binaries.
Bump WARNS accordingly.
Compiled on: sparc64, ia64, i386
Reviewed by: alfred (but blame me if anything goes wrong :-)
2004-11-06 18:15:44 +00:00
pjd
91b08be043
Add description of all available options.
2004-11-06 17:19:55 +00:00
pjd
97a0c2205e
Allow to write random data while testing RAID device, so we can also
...
test data integrity.
2004-11-06 17:10:24 +00:00
josef
0141ffb284
Add ftp8.de.freebsd.org
...
Requested by: vs
Approved by: ssouhlal
2004-11-06 14:38:54 +00:00
dd
0d0c457d3a
Bump .Dd, replace missing letter, and prefer to use a verb that
...
matches the option letter.
Submitted by: ru
Should know better by now: dd
2004-11-06 14:03:37 +00:00
ache
0c2935739d
Back out recent TTYDEF_LFLAG_ECHO invention.
...
This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now,
but to minimize diffs with other BSDs.
2004-11-06 13:56:18 +00:00
ru
4a9db323b1
First there was an -m option.
...
Then Peter killed it and made it the default.
Then Brooks and Poul-Henning added it again.
Then Ruslan fixed the manpage...
2004-11-06 13:38:45 +00:00
mtm
697061e2b4
Sync description of IP portrange sysctls with reality.
...
MFC after: 2 weeks
2004-11-06 13:24:53 +00:00
pjd
13567c29de
Be consistent and use 'if (error != 0)' instead of 'if (error)' everywhere.
2004-11-06 13:16:35 +00:00
pjd
d18ec52c75
For file backed md(4) devices output their source file via
...
'mdconfig -l -u <unit>'.
Bump version number, as this change breaks ABI/API.
2004-11-06 13:07:02 +00:00
rwatson
2b775a8633
Abstract the logic to look up the uma_bucket_zone given a desired
...
number of entries into bucket_zone_lookup(), which helps make more
clear the logic of consumers of bucket zones.
Annotate the behavior of bucket_init() with a comment indicating
how the various data structures, including the bucket lookup tables,
are initialized.
2004-11-06 11:43:30 +00:00
phk
723cc1105c
Properly implement a default version of VOP_GETWRITEMOUNT.
...
Remove improper access to vop_stdgetwritemount() which should and
will instead rely on the VOP default path.
2004-11-06 11:41:22 +00:00
phk
e582d20cf5
Increase default HZ for i386 to 1000
2004-11-06 11:33:43 +00:00
phk
8b96099f88
Remove dangling variable
2004-11-06 11:33:11 +00:00
rwatson
69064711c1
Annotate what bucket_size[] array does; staticize since it's used only
...
in uma_core.c.
2004-11-06 11:24:40 +00:00
dd
f2be7415a1
Remove a useless use of cat, strip overzealous punctuation, and
...
clarify some text.
2004-11-06 11:16:56 +00:00