Alan Cox
bfd2867046
o Lock page queue accesses by pmap_release_free_page().
2002-07-30 06:45:39 +00:00
Jake Burkholder
61f869600d
Add definitions for statistical and high-resolution profiling. The calling
...
conventions for _mcount and __cyg_profile_func_enter are different, so
statistical profiling kernels build and link but don't actually work.
IWBNI one could tell gcc to only generate calls to the former.
Define uintfptr_t properly for userland, but not for the kernel (I hope).
2002-07-30 06:14:34 +00:00
Jake Burkholder
c465faf9d4
The data cache on UltraSPARC III is not directly mapped, so don't assert
...
that. This breaks assumptions made by some of the cache flushing code,
but UltraSPARC III has different methods for invalidating cache lines
anyway.
2002-07-30 05:48:33 +00:00
Mike Silbersack
c4441bc769
Update docs to reflect change in count of procs reserved for root
...
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2002-07-30 05:37:00 +00:00
Mike Silbersack
e3682e195b
Update docs to reflect change in count of procs reserved for root
...
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2002-07-30 05:36:34 +00:00
Bill Fenner
d3125a3e10
Routing socket messages are padded to sizeof(long), not just
...
sizeof(u_int32_t).
2002-07-30 04:49:13 +00:00
Jake Burkholder
c02a3aa562
Fix int/size_t mismatch for sysctl arguments. Try not to introduce more
...
unsorting.
Reviewed by: bde (unsorted version)
2002-07-30 04:45:14 +00:00
Bruce A. Mah
e33861a94e
New release notes: ctags(1) -T, finger(1) -4/-6 (+MFC), various sh(1)
...
built-ins (most of which were MFC-ed).
Modified release notes: hw.pci.enable_io_modes sysctl
MFCs noted: ls(1) -m/-p/-x, rm(1) -v (marked as historic), sh(1) -C,
split(1) -a.
2002-07-30 04:32:14 +00:00
Jake Burkholder
4cfeb177e8
Panic if the data cache has too many virtual colors (more than 2).
2002-07-30 04:19:07 +00:00
Peter Wemm
dfeeeca3bf
Use fchmod() to restore the tty modes.
2002-07-30 03:49:27 +00:00
Jake Burkholder
7968e6d2b2
Use _ALIGN_DATA and _ALIGN_TEXT.
2002-07-30 02:27:24 +00:00
Robert Watson
03a719dcd1
Rebuild of files generated from syscalls.master.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:09:24 +00:00
Robert Watson
5d37d00afc
Prototype function arguments, only with MAC-specific structures
...
replaced with void until we bring in the actual structure definitions.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:06:34 +00:00
Robert Watson
e35b3494da
Hook up kern_mac.c to the build.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:04:56 +00:00
Robert Watson
7bc8250003
Stubs for the TrustedBSD MAC system calls to permit TrustedBSD MAC
...
userland code to operate on kernel's from the main tree. Not much
in this file yet.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:04:05 +00:00
Tim J. Robbins
6e9c52b638
When translating and -C is specified, behave as if the complemented set was
...
in the locale collating order as required by SUSv3.
2002-07-29 23:42:00 +00:00
Alan Cox
e5f8bd9418
o Introduce vm_page_sleep_if_busy() as an eventual replacement for
...
vm_page_sleep_busy(). vm_page_sleep_if_busy() uses the page
queues lock.
2002-07-29 19:41:22 +00:00
Julian Elischer
b7f2cf173e
Remove a XXXKSE comment. the code is no longer a problem..
2002-07-29 18:47:19 +00:00
Julian Elischer
1d7b9ed2e6
Create a new thread state to describe threads that would be ready to run
...
except for the fact tha they are presently swapped out. Also add a process
flag to indicate that the process has started the struggle to swap
back in. This will be needed for the case where multiple threads
start the swapin action top a collision. Also add code to stop
a process fropm being swapped out if one of the threads in this
process is actually off running on another CPU.. that might hurt...
Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
2002-07-29 18:33:32 +00:00
Mike Barcroft
49545b3891
Create a new header <machine/_stdint.h> for storing MD parts of
...
<stdint.h>. Previously, parts were defined in <machine/ansi.h> and
<machine/limits.h>. This resulted in two problems:
(1) Defining macros in <machine/ansi.h> gets in the way of that
header only defining types.
(2) Defining C99 limits in <machine/limits.h> adds pollution to
<limits.h>.
2002-07-29 17:41:23 +00:00
Mike Barcroft
90007bc6e7
Don't depend on pollution in <machine/limits.h> (by way of
...
<sys/param.h>) for definition of <stdint.h> macros.
2002-07-29 17:09:21 +00:00
Bruce A. Mah
2469f41d99
New release notes: tr(1) equivalence classes (+MFC), tr(1) -C.
...
MFCs noted: Various new flags for who(1).
2002-07-29 16:01:09 +00:00
Yaroslav Tykhiy
2b7489878b
Conform to RFC 959, Appendix II, when replying
...
to a successful MKD command.
MFC after: 1 week
2002-07-29 15:54:27 +00:00
Warner Losh
08c0f3d917
If we are in hostap mode, do not go into promisc mode. This causes
...
problems with the firmware and will result in a) poor performance and
b) the inability to associate certain types of cards (most notibly
cisco).
Idea obtained from OpenBSD, but I implemented it by clearing the
IFF_PROMISC flag rather than the refusing to honor it downstream.
2002-07-29 15:36:22 +00:00
Tim J. Robbins
482711cfa6
When translating and the -c option is specified, handle the case where the
...
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
2002-07-29 14:50:54 +00:00
Ruslan Ermilov
d2893b161b
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
Maxim Konovalov
d46a53126c
Use a common way to release locks before exit.
...
Reviewed by: hsu
2002-07-29 09:01:39 +00:00
Ruslan Ermilov
33c1de7d1f
Ignore -C, -p, and -S options of install(1) when used with the -d
...
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".
Requested by: bde
2002-07-29 08:51:04 +00:00
Jeff Roberson
3b82505bb2
- Add VBAD to the list of vnodes that are ignored on locking operations.
2002-07-29 07:45:57 +00:00
Murray Stokely
aa2ada4e96
Fix typo.
...
PR: docs/41091
MFC after: 1 day
2002-07-29 07:22:26 +00:00
Jeff Roberson
a562685f65
- Backout the patch made in revision 1.75 of vfs_mount.c. The vputs here
...
were hiding the real problem of the missing unlock in sync_inactive.
- Add the missing unlock in sync_inactive.
Submitted by: iedowse
2002-07-29 06:26:55 +00:00
Alan Cox
14f8ceaa07
o Pass VM_ALLOC_WIRED to vm_page_grab() rather than calling vm_page_wire()
...
in pmap_new_thread(), pmap_pinit(), and vm_proc_new().
o Lock page queue accesses by vm_page_free() in pmap_object_init_pt().
2002-07-29 05:42:44 +00:00
Bruce A. Mah
e6502af979
New release notes: wicontrol(8) -l/-L, traceroute 1.4a12.
...
Updated release note: tcsh-6.12.
2002-07-29 05:06:56 +00:00
Matt Jacob
b52b9d56d4
Fix Makefiles to actually work.
2002-07-29 04:43:10 +00:00
Mike Silbersack
22832b4deb
Forced commit.
...
Rev 1.134 actually reverts rev 1.132, NOT rev 1.131.
2002-07-29 04:41:30 +00:00
Mike Silbersack
e2102ae475
Revert rev 1.131.
...
1.131 is slightly broken, and I would commit the fix to that here, but it
has been reported that any deviation from the original code is causing
problems with some 82557 chips, causing them to lock hard.
Until those issues have been figured out, going back to the original
code is the best plan.
Frustrated: Silby
2002-07-29 04:32:35 +00:00
Luigi Rizzo
e823d3404b
whitespace commit: fix indentation in fxp_intr_body.
...
This is also done in preparation of a subsequent fix
for the handling of RNR conditions in polling mode.
2002-07-29 02:48:09 +00:00
Jake Burkholder
55328d51ba
Add routines needed for high resolution profiling.
2002-07-29 00:45:13 +00:00
Jake Burkholder
fa4a902a13
Add a symbol for btext.
2002-07-29 00:42:00 +00:00
Jake Burkholder
7cde6cc16c
Remove a stale comment.
2002-07-29 00:40:48 +00:00
Jake Burkholder
edfdadb6c3
Use _ALIGN_TEXT. Implement __cyg_profile_func_enter and
...
__cyg_profile_func_exit for GUPROF.
2002-07-29 00:39:46 +00:00
Jake Burkholder
d40e229819
Add _ALIGN_DATA and _ALIGN_TEXT macros.
2002-07-29 00:38:07 +00:00
Jake Burkholder
45b84327f9
Remove some stuff that snuck in last commit.
2002-07-29 00:37:05 +00:00
Tony Finch
f38aa77fc8
Use login_getpwclass() instead of login_getclass() so that the root
...
vs. default login class distinction is made correctly.
PR: 37416
Approved by: des
MFC after: 4 days
2002-07-29 00:36:24 +00:00
Søren Schmidt
b3d86d9ca2
OK, dont rely on the upper layers handling iosize_max correctly,
...
instead rely on ATAPI devices ability to do the work instead.
MFC material.
2002-07-28 23:59:00 +00:00
Alan Cox
2c071f61f0
o Modify vm_page_grab() to accept VM_ALLOC_WIRED.
2002-07-28 23:46:19 +00:00
Dag-Erling Smørgrav
35945a74ac
fetch(1) is WARNS-5 clean (tested on i386 and Alpha)
2002-07-28 21:09:57 +00:00
Dag-Erling Smørgrav
32411a1b6f
Use strtol(3) instead of a home-grown version, and fix a "possibly
...
unitialized variable" warning.
2002-07-28 21:09:25 +00:00
Don Lewis
9e74cba35a
Make a temporary copy of the output data in the generic sysctl handlers
...
so that the data is less likely to be inconsistent if SYSCTL_OUT() blocks.
If the data is large, wire the output buffer instead.
This is somewhat less than optimal, since the handler could skip the copy
if it knew that the data was static.
If the data is dynamic, we are still not guaranteed to get a consistent
copy since another processor could change the data while the copy is in
progress because the data is not locked. This problem could be solved if
the generic handlers had the ability to grab the proper lock before the
copy and release it afterwards.
This may duplicate work done in other sysctl handlers in the kernel which
also copy the data, possibly while a lock is held, before calling they call
a generic handler to output the data. These handlers should probably call
SYSCTL_OUT() directly.
2002-07-28 21:06:14 +00:00
Alan Cox
e43c2eab07
o Lock page queue accesses by vm_page_free().
...
o Apply some style fixes.
2002-07-28 20:13:48 +00:00