Commit Graph

141935 Commits

Author SHA1 Message Date
christos
a790ff195c PR/32086: Garrett D'Amore: Use the YAMON environment for console speed
selection, rather than a hard-coded speed.
2005-12-21 18:55:33 +00:00
christos
54bb4a449f conditionally build this on GPROF again. 2005-12-21 18:11:32 +00:00
christos
bab1897aa8 Only build this if GPROF && !_STANDALONE 2005-12-21 18:11:11 +00:00
christos
91165a001e make this compile again. 2005-12-21 16:58:04 +00:00
rpaulo
b66583facd Fix links for cpu_lwp_fork.9. Pointed out by ghen@ and salo@. 2005-12-21 15:36:38 +00:00
christos
4659ba77df Build also when GPROF is not defined. 2005-12-21 15:14:09 +00:00
christos
f852d21f71 Add the state setting functions for the new random function, but use the
small one by default, so that we can switch in the future if we want to.
2005-12-21 14:24:44 +00:00
christos
70b3b52aaa Add the old small random from the libkern and use it for now. 2005-12-21 14:23:58 +00:00
christos
93412868df Make this compile for the kernel again. 2005-12-21 14:19:45 +00:00
reinoud
19eca236e0 Improve disc size reporting. The current discsize thats reported is the
current recorded extent and not the complete maximum extent of the disc.

An empty CD/DVD disc is seen as having an invalid length and given 800 Mb
size. This makes it possible to write to a CD-R using `dd' as some tend to
do.

However when an extent is recorded the initial recorded length is seen as
valid and is thus set as absolute upperbound to read and write actions
preventing extention of the disc.

Committed after consultation on tech-kern with a positive advice by Manuel
Bouyer.
2005-12-21 13:11:27 +00:00
yamt
79265831ba uvmpd_scan: when deactivating a page, clear its reference bit.
discussed on tech-kern@.
2005-12-21 12:24:47 +00:00
yamt
ca08761347 whitespace in SYSCTL_DESCR. 2005-12-21 12:23:44 +00:00
yamt
a71fb9d9ab add vm.inactivepct. 2005-12-21 12:21:06 +00:00
yamt
4fce5d6f5e make length of inactive queue tunable by sysctl. (vm.inactivepct) 2005-12-21 12:19:04 +00:00
yamt
fcae6339ea defparam NMBCLUSTERS. 2005-12-21 10:57:22 +00:00
sekiya
469147a42c I fixed the cardbus bus enumeration problem awhile back, but the interrupt
fixup problems remain.  Adjust TODO comments to match, and add a link to
cube's comments.
2005-12-21 08:48:25 +00:00
uwe
a527ca4c45 Fix formatting botch. 2005-12-21 07:43:30 +00:00
hubertf
266577df3c At least try to be consistent about where to document (most...)
user-settable MKxxx and USE_xxx variables, and put them into mk.conf(5).
Sort alphabetically.

OK: christos, lukem
2005-12-21 04:25:54 +00:00
christos
b2b13a51a4 moved to common. 2005-12-21 00:26:54 +00:00
christos
734fc1f9ff move from libc. 2005-12-21 00:25:56 +00:00
christos
1dbc939feb setuserenv -> setuserenviron 2005-12-20 22:54:44 +00:00
christos
242aadbe63 Include string in the cpp flags. 2005-12-20 22:51:18 +00:00
christos
d10f4d6b55 libutil bump. 2005-12-20 21:34:29 +00:00
christos
349633b5fa make setuserenv and setuserpath take an environment setting function and
an environment pointer and expose them.
bump version.
2005-12-20 21:32:20 +00:00
christos
724f51cbd9 expose setuserpath and setuserenv, now used by xdm. 2005-12-20 21:31:27 +00:00
christos
174556b791 Add setusercontext handling (from Patrick Welche) 2005-12-20 21:30:19 +00:00
tron
e7b5db7c4a Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.
2005-12-20 21:06:42 +00:00
christos
7dfafee4b6 Search the new common framework. 2005-12-20 20:39:15 +00:00
christos
275e8bb92d add files I forgot to commit. 2005-12-20 20:29:40 +00:00
rpaulo
7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
christos
153f1146ed Use common sources with userland. 2005-12-20 19:35:26 +00:00
christos
6fcf9fd532 Provide _DIAGASSERT and NULL, so that we don't have to do it in *all* the
libkern files.
Also the new inet_addr, provides inet_aton; advertise it.
2005-12-20 19:35:12 +00:00
rpaulo
cfdce0208a Update to match reality. 2005-12-20 19:34:43 +00:00
christos
7c77bfb8e4 Forward declarations for structs. 2005-12-20 19:32:58 +00:00
christos
f01a2f5714 Define INADDR_NONE when we are in the kernel too. 2005-12-20 19:32:30 +00:00
christos
e5548b402a Use reach-over sources from common/lib/libc 2005-12-20 19:31:47 +00:00
christos
37c9f0a654 Merge libkern + libc common files. As requested by core. 2005-12-20 19:28:49 +00:00
rpaulo
b37b6e42f6 Fix comments for preempt() using rev. 1.101.2.31 log of nathanw_sa by thorpej. 2005-12-20 19:26:15 +00:00
elad
1864f3b314 - Add a new section, "Security Options"
- Move INSECURE to be under it, and fix wording - we hardwire to -1, not 0.
- Add Veriexec options.
2005-12-20 18:15:30 +00:00
thorpej
e363cc4a04 Move evcnt definitions into <sys/evcnt.h>. Include this from <sys/device.h>
for compatibility.
2005-12-20 16:28:55 +00:00
christos
7799813507 Commit temporary fix against kva starvation from yamt:
- pool_allocator_alloc: drain ourselves as well,
  so that pool_cache on us is drained as well.
- pool_cache_put_paddr: destruct objects if underlying pool is starved.
- pool_get: on kva starvation, wake up once a second and try again.

Fixes:
PR/32287: Processes hang in "mclpl"
PR/32330: shark kernel hangs under memory load.
2005-12-20 15:52:14 +00:00
rpaulo
5ff83cb96b Remove <sys/tablet.h>, noticed by Kurt Schreiner on current-users@. 2005-12-20 13:32:50 +00:00
mrg
634f803e1b note that sip(4) works on sparc64 now. 2005-12-20 13:08:17 +00:00
mrg
5c85883363 enable sip@pci. it seems to work now, tested on a U10/440. 2005-12-20 13:02:13 +00:00
skrll
dd1a604b66 Whitespace 2005-12-20 08:25:58 +00:00
skrll
74331c1241 Merge the FreeBSD code and adapt to NetBSD:
- add power management.
	- update ioctl handling.

Fix PR 27439 as the FreeBSD code has joerg's fix for when the RX intr
routine can't allocate a new mbuf.

Fix PR 30806. Thanks to cube@ for testing and some struct ipw_soft_hdr
handling code.

XXX The state machine doesn't sync with the net80211 layer, but that's
XXX not a surprise.
2005-12-20 07:51:38 +00:00
thorpej
445cc37106 <sys/tablet.h> is now obsolete. 2005-12-20 05:36:48 +00:00
thorpej
c97c3de6e9 Remove the tablet line discipline. 2005-12-20 05:35:27 +00:00
thorpej
88ac5a26bf Use new typedefs. 2005-12-20 04:39:36 +00:00
thorpej
5047c6db68 No longer need our own device_t typedef. 2005-12-20 04:31:28 +00:00