Commit Graph

90910 Commits

Author SHA1 Message Date
jhb
eb5895657e - Add a td_pflags field to struct thread for private flags accessed only by
curthread.  Unlike td_flags, this field does not need any locking.
- Replace the td_inktr and td_inktrace variables with equivalent private
  thread flags.
- Move TDF_OLDMASK over to the private flags field so it no longer requires
  sched_lock.
2003-06-09 17:38:32 +00:00
mtm
32b7672bf8 o Fix a typo
o Fill in the ipx_down() routine.

Submitted by: ceri
2003-06-09 17:34:31 +00:00
hmp
2c90705846 Hook up pci(9) manual page to the build.
Approved by:	des (mentor)
2003-06-09 17:33:25 +00:00
hmp
daf5f86459 Bring in a manual page documenting some important functions of the
PCI bus interface.  I have made some modifications to this manual
page, so it looks a bit different from the original version that
was posted to me.

Submitted by:		Bruce M. Simpson <bms@spc.org>
Reviewed by:		imp, mdodd (early copy)
Approved by:		des (mentor)

MFC after:		3 days
2003-06-09 17:32:41 +00:00
mtm
9a433b8eb7 Previously, a "forced" command always exited successfully (with the
exception of the default 'status' command) regardless of whether the
executed command was actually successfull or not. Forced scripts should
always correctly reflect the outcome of the command.

NOTE: exit values are treated as booleans. We don't care what
      the actual exit value was, only whether it was successfull or not.
2003-06-09 17:31:06 +00:00
hmp
2eafd495a8 Add a comment to de-obfuscate the meaning of the PQ_CACHESIZE
kernel configuration option.  This created confusion resulting
into a PR.

PR:			docs/45294
Approved by:		des (mentor)
Discussed with:		bmilekic
2003-06-09 17:09:51 +00:00
netchild
2d8ce2ecf3 Sanity check fd before using it as an array index.
Noticed by:	ted@NLnetLabs.nl (Ted Lindgreen)
Approved by:	ru
2003-06-09 16:45:37 +00:00
jhb
747740b6ee Remove stale reference to the deprecated USER_LDT option. The associated
code is always compiled into the kernel now.

Submitted by:	Hubert Tournier <hubert@frbsd.org>
PR:		docs/53068
2003-06-09 11:46:22 +00:00
jmallett
960b0db3f4 Expose kern.ident by way of OID_AUTO.
Requested by:	phk
2003-06-09 10:54:23 +00:00
ru
cf92a937e6 Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
jmallett
a27ef57fb5 Add sysctlbyname(3) support, and use that for uname -i, in preparation for
replacing the committed static OID version with a string-based OID_AUTO
version.
2003-06-09 10:23:43 +00:00
jmallett
9fe53d5452 Commit rudimentary libufs manual pages, except for that for
getino(3)/putino(3), inode.c has been reworked in Perforce to the point
where a manual page may not be accurate.  Certainly putino(3) has not
even been merged back yet.

These will need a lot of improvement for most applications, but they
document the API enough to get someone on their feet, most likely.  The
best documentation still exists in the form of libufs(3) consumers in the
base system.
2003-06-09 09:59:11 +00:00
jmallett
1c93f1c620 Remove ufs_disk_ctor and ufs_disk_dtor, they never came to fruition. I do
not know of any software using them, and there is no "published API" for
libufs, as it were.
2003-06-09 09:47:38 +00:00
jmallett
c5b4466d0b Make kernel identification (`ident' in the config(8) driver) available to
userland, and the kernel.  In the kernel by way of the 'ident[]' variable
akin to all the other stuff generated by newvers.sh.  In userland it is
available to sysctl consumers via KERN_IDENT or 'kern.ident'.  It is exported
by uname(1) by the -i flag.

Reviewed by:	hackers@
2003-06-09 09:38:20 +00:00
jmallett
e56450ad34 Reduce diffs with code in Perforce:
Parenthesise return values.
2003-06-09 09:32:29 +00:00
jmallett
8b207107b5 Marshal newfs -L (filesystem volume names), the names are not marshalled
with any quoting, but that should be OK for re-input, regardless.
2003-06-09 09:26:02 +00:00
roam
a4427da9a9 Remove duplicate 'of the'.
PR:		53073
Submitted by:	Priit Piipuu <priit.piipuu@mail.ee>
MFC after:	2 weeks
2003-06-09 09:19:21 +00:00
murray
55080045a1 Update the number and size of ports in the Ports Collection. 2003-06-09 07:05:59 +00:00
alc
ff86334d77 Hold the vm object's lock when performing vm_page_lookup(). 2003-06-09 07:01:05 +00:00
alc
e10fc81f4e Don't use vm_object_set_flag() to initialize the vm object's flags. 2003-06-09 06:50:02 +00:00
imp
73f9c91511 Change incorrect strings.h to more correct string.h to pick up
declarations for strlcpy, strlen, strmp and strcpy.
2003-06-09 06:30:36 +00:00
imp
904fd8dbd4 Include sys/param.h for both modfind and kldload
Include sys/linker.h for kldload
Include sys/module.h for modfind
sort sys includes
2003-06-09 06:26:50 +00:00
imp
0426c8202c Include stdlib.h for atoi declaration.
Add $FreeBSD$ while I'm here.
2003-06-09 06:23:10 +00:00
imp
19bea52c24 Include stdlib.h for atoi declaration
Add $FreeBSD$ while I'm here.
2003-06-09 06:22:01 +00:00
imp
e6e9e60c45 include string.h for memcmp declearation 2003-06-09 06:19:15 +00:00
imp
f71b62fa15 Include string.h for strlen declaration 2003-06-09 06:17:07 +00:00
imp
4a41d3f567 Include stdlib.h for exit declaration 2003-06-09 06:16:18 +00:00
imp
a15c86f588 Include string.h for strcmp declaration 2003-06-09 06:16:00 +00:00
hsu
f6f79a166e On a socket creation error, don't close the socket. 2003-06-09 03:44:34 +00:00
jeff
db4a0ae4f4 - Add a simple CPU load balancing algorithm. This works by executing once a
second and equalizing the load between the two most imbalanced CPU.  This
   is intended to clear up long term load imbalances that would not be handled
   by the 'pull' method in sched_choose().
 - Pull out some bits of sched_choose() into a kseq_move() function that moves
   an arbitrary thread from one kseq to another.
2003-06-09 00:39:09 +00:00
ru
e5d3fc4341 Document the NOLIBPTHREAD and NOLIBTHR knobs. 2003-06-08 23:48:02 +00:00
alc
a78e14f814 - Properly handle the paging_in_progress case on two vm objects in
vm_object_deallocate().
 - Remove vm_object_pip_sleep().
2003-06-08 23:01:24 +00:00
will
5fc986b4c6 REST IN PEACE
Alan Eldridge
Born December 15, 1961 in Iowa
Died June 6, 2003 in Denver, Colorado

Thank you for your contributions, you
will be greatly missed.

http://freebsd.kde.org/memoriam/alane.php

(This change suggested by ru@ - thanks).
2003-06-08 21:31:10 +00:00
ceri
86ceedf67c Apply a couple of grammatical improvements.
MFC after:	2 days
2003-06-08 19:49:37 +00:00
ceri
2b3c2bfed2 Correct a typo.
MFC After:	2 days
2003-06-08 19:41:58 +00:00
des
9c9d964ca3 Forced commit to note that the previous committed related to:
PR:		kern/51555
2003-06-08 18:35:57 +00:00
des
2ec7f4d5b0 Revert part of rev 1.43. We want to fail gracefully if there is no packet
waiting in the interface queue.

Submitted by:	Yeasah Pell <yeasah@apocalypse.org>
2003-06-08 18:35:25 +00:00
deischen
41a69c707d After selecting a thread to handle a signal and taking
its scheduling lock, make sure that the thread still has
the signal unmasked.

Make a debug statement conditional on debugging being
enabled.
2003-06-08 17:37:21 +00:00
deischen
384d1864cc Insert threads at the end of the free thread list so that
the chance of getting the same thread id when allocating a
new thread is reduced.  This won't work if the application
creates a new thread for every time a thread exits, but
we're still within the allowances of POSIX.
2003-06-08 17:35:11 +00:00
deischen
7d6f4d64e6 Provide a reference to __sys_write. The implementation uses this when
debugging is enabled so the symbol needs to be resolved before rtld
locking is enabled.  I may not really know what I'm talking about,
but it works.

Submitted by:	kan
2003-06-08 17:29:32 +00:00
ru
ca623f225e The sorting is by month/day/year/login. 2003-06-08 16:37:40 +00:00
ru
e9c567a384 Submitted by: hmp 2003-06-08 15:01:44 +00:00
charnier
453b40205a command -> utility. Add section number to .Xr 2003-06-08 14:38:02 +00:00
charnier
931cedfd3a The .Nm utility 2003-06-08 14:36:22 +00:00
charnier
76fcfc8f73 command -> utility 2003-06-08 14:35:11 +00:00
charnier
16eb30714e Add section number to .Xr 2003-06-08 14:33:04 +00:00
charnier
ef01daee7b The .Xr utility. Spelling. Put NIS under .Tn 2003-06-08 14:28:38 +00:00
charnier
767a6e9b3b The .Xr utility 2003-06-08 14:06:45 +00:00
charnier
757d1c2707 Add section number to .Xr 2003-06-08 14:04:49 +00:00
charnier
b4f245455e Add section number to .Xr 2003-06-08 13:58:08 +00:00