John Baldwin
47a3594e8e
The puc(4) driver/bridge is MI, so don't bury it in MD options and files
...
config files. It also depends on PCI.
2002-07-15 15:39:10 +00:00
Bosko Milekic
185c2244ce
o Introduce new m_getcl() interface routine that allocates an mbuf
...
and a cluster in one shot.
o Introduce MBP_PERSIST and MBP_PERSISTENT control bits to mb_alloc();
MBP_PERSIST means "if you can allocate, then keep the cache lock
held on exit," and MBP_PERSISTENT means "a cache lock is alredy held
on entry, so allocate from the specified (already locked) cache."
They may be used in combination.
o m_getcl() uses the MBP_PERSIST/MBP_PERSISTENT interface so that it
doesn't drop the cache lock in between the mbuf and cluster allocations.
o m_getm(), which takes a size and allocates an mbuf + cluster "best fit"
chain, has been moved from uipc_mbuf.c to subr_mbuf.c and shown how to
use MBP_PERSIST/MBP_PERSISTENT to attempt to do a grouped allocation
without dropping the cache lock in between.
Why this is good: much less bus-locked lock acquires/drops when they're
not needed. Also, prototype for m_getcl():
struct mbuf * m_getcl(int how, short type, int flags);
"how" and "type" are self-explanatory. "flags" may be M_PKTHDR, in
which case m_getcl() will make the mbuf a pkthdr-mbuf.
While I'm in subr_mbuf.c:
o Every exported routine now has a nice comment with a description of
the expected arguments. Eventually, mbuf(9) needs to be re-vamped
but there's still more code to write/finalize before I get to that.
o internal macros have been changed a bit.
o consistently use 'short' for "type." This somehow slipped through
before (that 'type' was sometimes declared as int).
Alfred has been pushing for the MBP_PERSIST{,ENT} thing for almost a
year now. Luigi asked for m_getcl(), and will probably MFC that
part of this commit.
TODO [Related]: teach mb_free() about MBP_PERSIST{, ENT}.
2002-07-15 15:32:59 +00:00
John Baldwin
0b9113359f
Sort all the SYSV IPC options. They are still all clumped together, but
...
at least they are sorted relative to themselves now.
2002-07-15 15:28:16 +00:00
John Baldwin
404b3dcf21
- Properly sort GEOM and NODEVFS.
...
- GEOM doesn't need to specify a filename, the correct one is chosen by
default.
2002-07-15 15:25:08 +00:00
John Baldwin
97fef0a119
Make WLCACHE and WLDEBUG MI options.
2002-07-15 15:21:51 +00:00
John Baldwin
7f01180e4e
Make NDGBPORTS an MI option since the dgb(4) driver is an MI driver.
...
Remove comments about NDGBPORTS from the options* files. Please document
options in NOTES, not in the options* files.
2002-07-15 15:18:34 +00:00
John Baldwin
7b52958662
Properly document NDGBPORTS and use a better value in NOTES. The normal
...
values for settings in NOTES is to use the default value + 1.
2002-07-15 15:17:22 +00:00
John Baldwin
e03e67ef3b
Remove SIMOS option from here. It will be moving to a new home shortly.
2002-07-15 15:07:51 +00:00
John Baldwin
722e959358
Adjust a comment, the vga device only supports VGA cards.
2002-07-15 14:56:44 +00:00
John Baldwin
1d044dd784
The sources to the non-working esp device are no longer present in current.
2002-07-15 14:54:36 +00:00
John Baldwin
cb8881c3df
Alpha does not support the PERFMON kernel option and does not have a
...
perfmon.c.
2002-07-15 14:45:32 +00:00
John Baldwin
319c5598e3
Neither options SLICE or sys/alpha/alpha/mountroot.c exist anymore.
2002-07-15 14:43:40 +00:00
Ian Dowse
417d8f25fc
Re-fetch the interface handle after setting the config number,
...
because the previous interface handle gets freed when the config
number is set. This fixes a problem where memory could be accessed
after it was freed when the interface was ifconfig'd up.
Reviewed by: n_hibma
2002-07-15 14:37:36 +00:00
John Baldwin
19612036d9
- Remove an irrelevant comment from i386 GENERIC.
...
- Remove unneeded quotes.
- Remove 'config' line.
- Rename ident to SIMOS.
2002-07-15 14:33:20 +00:00
John Baldwin
a916ce1acc
Move ACPI device and options from MI NOTES to the i386 MD NOTES file.
2002-07-15 14:28:20 +00:00
Mark Murray
3de495c801
Very minor warns fix. Add a declaration for an unused parameter.
2002-07-15 14:06:03 +00:00
Mark Murray
c329aeecc6
Help lint out a bit; wrap some functions (redefined as macros) in #ifdef.
2002-07-15 14:04:08 +00:00
Mark Murray
bbf09ad887
Upgrade the random device to use a "real" hash instead of building
...
one out of a block cipher. This has 2 advantages:
1) The code is _much_ simpler
2) We aren't committing our security to one algorithm (much as we
may think we trust AES).
While I'm here, make an explicit reseed do a slow reseed instead
of a fast; this is in line with what the original paper suggested.
2002-07-15 13:58:35 +00:00
Mark Murray
d56fb9ceb0
Fix some really pedantic GCC warnings.
2002-07-15 13:45:15 +00:00
Mark Murray
a8966f6598
Convert GNU variadic macros to the ISO 9X variety.
2002-07-15 13:34:50 +00:00
Mark Murray
80a0ead4fe
Wrap GNU specific code in ifdefs, and help lint out by providing
...
some alternative definitions.
2002-07-15 13:29:40 +00:00
Mark Murray
7e622d3c84
Cast to prevent "signed/unsigned comparison" warnings.
2002-07-15 13:27:43 +00:00
Mark Murray
bbcfaa6aa0
Warnings and lint-assisting fixes; mark unused function parameters as
...
unused; wrap GNUisms (asm code) in appropriate #ifdefs.
2002-07-15 13:25:15 +00:00
Mark Murray
1cc6a5356c
Consistently use semicolons to terminate macro invocations. Cleaner
...
style and fixes later warnings.
2002-07-15 13:17:23 +00:00
Mark Murray
8deedb62c1
Convert GNU-styled variadic macros to ISO(9x) style.
2002-07-15 13:15:31 +00:00
Mark Murray
4f8cb019ea
Use a semicolon at the end of a function-like macro invocation. Kills
...
warnings and makes the visual style easier.
2002-07-15 13:13:04 +00:00
Mark Murray
8803fc01d8
Fix warning by marking unused function parameter.
2002-07-15 13:10:19 +00:00
Mark Murray
4f19a11aea
ISOfy and minor warnsfix.
2002-07-15 13:08:44 +00:00
Mark Murray
64d85ef750
Use semicolons at the end of function-like macros for the sake of
...
consistency, style and future cleanliness.
2002-07-15 13:03:10 +00:00
Dag-Erling Smørgrav
b3f379f65f
Get rid of %qd, and unbreak Alpha build.
2002-07-15 12:17:31 +00:00
Sheldon Hearn
ced4deb156
Revert previous delta, which is not required with rev 1.5 of
...
src/contrib/gcc/c-format.c .
2002-07-15 12:08:21 +00:00
Ralf S. Engelschall
605a57c20d
s/progname/procname/ to be consistent with the other occurrences
...
of the option -c argument in SYNOPSIS and DESCRIPTION.
2002-07-15 11:33:30 +00:00
Ralf S. Engelschall
32f28b1541
Replace extra call to "tunefs" with the equivalent of "newfs -U".
...
Reviewed by: phk
2002-07-15 11:30:21 +00:00
Hajimu UMEMOTO
767f578267
Correct module name of my previous commit.
2002-07-15 11:22:37 +00:00
Alfred Perlstein
e3d463662c
revert WARNS=4, it makes the alpha compile sad.
2002-07-15 09:53:34 +00:00
Giorgos Keramidas
ce9fa5fcb2
Fix whitespace in .Bd -literal display of S_IXXX constants.
...
Noticed by: jmallett
2002-07-15 08:58:16 +00:00
Giorgos Keramidas
0d4ac71385
mdoc fun: add a few more sentence breaks.
2002-07-15 07:51:10 +00:00
Giorgos Keramidas
b4e164347b
Kill excessive whitespace between macro arguments.
2002-07-15 07:35:36 +00:00
Giorgos Keramidas
2e634542d4
mdoc style: break up sentences
2002-07-15 07:16:54 +00:00
Juli Mallett
19074b91d3
Bit-width fields should be of type 'int'.
2002-07-15 06:57:25 +00:00
Juli Mallett
9739527ffb
Use %zu to print size_t.
2002-07-15 06:57:01 +00:00
Alan Cox
5c8cdc0e2a
o Create vm_contig_launder() to replace code that appears twice
...
in contigmalloc1().
2002-07-15 06:33:31 +00:00
Giorgos Keramidas
3a432e4c4b
Fix last hard sentence break.
2002-07-15 06:15:38 +00:00
Giorgos Keramidas
3fbfa86b4c
^Z suspends any and all programs that don't do anything special about
...
it. There's really no reason to explicitly mention it here.
Suggested by: Mark Valentine <mark@thuvia.demon.co.uk>
2002-07-15 05:54:35 +00:00
Tim J. Robbins
c81180b861
Support larger files (at least 64-bit offsets) by using off_t instead of
...
int to store offsets.
2002-07-15 05:31:55 +00:00
Max Khon
937033e904
fix driver name in DRIVER_MODULE
...
MFC after: 3 days
2002-07-15 05:05:50 +00:00
Giorgos Keramidas
955f24e6b7
Use present tense in all the verbs, when describing loader's startup.
...
Most of them are not in a future tense already.
2002-07-15 03:39:34 +00:00
Giorgos Keramidas
b3e9028c87
Document savecore_flags.
...
PR: docs/35967
Submitted by: Gary W. Swearingen <swear@blarg.net>
2002-07-15 02:21:44 +00:00
Juli Mallett
2c4acd2f49
Kill extraneous whitespace.
2002-07-15 02:15:12 +00:00
Giorgos Keramidas
cd8fb74d84
Fix a couple of typos in a comment.
...
PR: docs/33559
Submitted by: Marc Olzheim <marcolz@ilse.nl>
2002-07-15 02:03:30 +00:00