Ian Dowse
0eb6ce3169
Move the code that computes the system load average from vm_meter.c
...
to kern_synch.c in preparation for adding some jitter to the
inter-sample time.
Note that the "vm.loadavg" sysctl still lives in vm_meter.c which
isn't the right place, but it is appropriate for the current (bad)
name of that sysctl.
Suggested by: jhb (some time ago)
Reviewed by: bde
2001-10-20 13:10:43 +00:00
Ollivier Robert
41494fa079
Remove the ``-c 22'' option from newfs command line. Changes in newfs(8)
...
makes that obsolete. The jury^W-arch is still out about the block and fragment
sizes so I'll that for later.
Reminded by: obrien
MFC after: 2 days
2001-10-20 09:28:53 +00:00
Jonathan Lemon
d8b84d9e07
Only examine inet addresses of the interface. This was broken in r1.83,
...
with the result that the system would reply to an ARP request of 0.0.0.0
2001-10-20 05:14:06 +00:00
Darren Reed
f645349388
Do an ipf -y after bringing up ppp to ensure rules which mention ppp get
...
matched. Moification on PR to handle ipnat not being dependant on
ipfilter_enable
PR: 22859
2001-10-20 04:46:32 +00:00
Darren Reed
9645656d2c
Allow ipnat_enable to be set to "yes" without requiring ipfiltre_enable to
...
be set to "yes"
PR: 25223
2001-10-20 04:41:47 +00:00
Darren Reed
7b60aacc90
Create /var/db/ipf
...
PR: 27070
2001-10-20 04:33:12 +00:00
Darren Reed
639e6db6e7
Put in place for using ipfs use on shutdown and startup.
...
PR: 27070
2001-10-20 04:33:02 +00:00
Darren Reed
d70e094301
include ipfs in subdirs
...
PR: 27063
2001-10-20 04:27:45 +00:00
Darren Reed
0186482566
build ipfs for -current
...
PR: 27063
2001-10-20 04:27:05 +00:00
Darren Reed
45e22a3d1c
Add the ipfilter directory in share/examples
...
PR: 26763
2001-10-20 04:18:41 +00:00
Darren Reed
2600f5b80b
Add the ipfilter subdirectory
...
PR: 26763
2001-10-20 04:18:13 +00:00
Darren Reed
6de4d5d5a4
Add the IPFilter how-to and other related documents to the base install
...
so that users gets ipfilter examples without a source install.
PR: 26763
Submitted by: Cyrille Lefevre <clefevre@poboxes.com>
2001-10-20 04:17:07 +00:00
Marcel Moolenaar
3824d75af1
Save the AP wake-up vector from the SAL descriptor under SMP.
...
Note that the descriptor is optional. Add a comment to indicate
that we want to register the OS_BOOT_RENDEZ here as well.
2001-10-20 03:39:55 +00:00
Marcel Moolenaar
5b8c64dd2c
Make this compile under option SMP.
2001-10-20 03:33:07 +00:00
John Baldwin
76e296aa31
- Make the sio_inited handling more properly MP safe.
...
- If we are booting with a serial console, then pass the MTX_QUIET flag to
mtx_init of the sio lock as otherwise KTR_VERBOSE simply doesn't work.
2001-10-20 03:32:33 +00:00
John Baldwin
dee2bb2540
Assert that a ucred is unshared before we remap its ids.
2001-10-20 03:30:34 +00:00
John Baldwin
c516499ad4
Make the flag field in the ps output one char wider to account for recent
...
growth in the number of flags used. Also, if a thread is blocked on a
mutex, print the mutex name in the wait channel column.
2001-10-20 03:22:23 +00:00
Andrew Gallatin
dd79258102
apparently EV5 2x00s have their t2 CSRs where I'd expect to find
...
them on a 2100A
Thanks to Tyler Willingham <ze_willow@yahoo.com> for letting me
test this on his AS2000
2001-10-20 01:27:23 +00:00
John Baldwin
7ada587697
The mtx_init() and sx_init() functions bzero'd locks before handing them
...
off to witness_init() making the check for double intializating a lock by
testing the LO_INITIALIZED flag moot. Workaround this by checking the
LO_INITIALIZED flag ourself before we bzero the lock structure.
2001-10-20 01:22:42 +00:00
David E. O'Brien
c932615213
Drop support for x87 emulation. Any CPU one would dare to run 5-CURRENT
...
on would have built-in FP support.
2001-10-20 01:15:54 +00:00
Dag-Erling Smørgrav
82835638e1
Tweak the way we determine if an interface needs to have its name translated.
...
Add some missing break statements in the socket ioctl switch.
Check the return value from copyin() / copyout().
Fix some disorderings and misindentations.
Support a couple more socket ioctls.
Add missing break statements.
2001-10-20 00:01:26 +00:00
Peter Wemm
259ed91740
Add a sysctl for preventing the sync() in panic() recovery. This can
...
be so dangerous it isn't funny. eg: if you panic inside NFS or softdep,
and then try and sync you run into held locks and cause either deadlocks,
recursive panics or other interesting chaos. Default is unchanged.
2001-10-19 23:32:03 +00:00
Mark Peek
94e0b85e76
Fix includes based on recent changes to lock.h, mutex.h and ktr.h.
2001-10-19 22:45:46 +00:00
Doug Rabson
ccd97ec1f2
Add unaligned.c and delete commented out entry for userconfig.c
2001-10-19 22:25:00 +00:00
Doug Rabson
76f7435e6e
Make a start at an unaligned trap handler. Only integer loads and stores
...
are handled so far.
2001-10-19 22:23:51 +00:00
Mark Peek
43aba0eadb
Make override of nm consistent across all platforms and sort the overrides.
...
Reminded by: obrien
2001-10-19 22:19:06 +00:00
Doug Rabson
9c2de1cd14
Make a start at a regression test for the unaligned trap handler.
2001-10-19 22:10:13 +00:00
Bruce A. Mah
74af4616c6
Bring a few multi-architecture arch= attributes into the hardware
...
list, based primarily on dmesg logs posted to various mailing lists.
2001-10-19 20:56:31 +00:00
Doug Rabson
c33287f969
Translate various userland traps into SIGBUS (instead of just panicing).
2001-10-19 20:46:12 +00:00
Bruce A. Mah
4fb1e6a7c9
Support a comma-separated list of architectures for the arch=
...
attribute. This change is necessary in order for the release
documentation to scale to support more than two architectures.
Based on work by: hrs
2001-10-19 20:41:09 +00:00
David E. O'Brien
d80e71799d
Make the logic more explicit.
2001-10-19 20:20:16 +00:00
Ruslan Ermilov
c3917acb86
Fix the typedef of va_list.
2001-10-19 20:07:46 +00:00
Bruce A. Mah
5207734205
New release note: xl(4) checksum offloading.
...
Reviewed by: alc
2001-10-19 20:07:07 +00:00
Ruslan Ermilov
8c93e71e33
Try two on the preprocessing logic.
...
Reviewed by: obrien
2001-10-19 20:06:23 +00:00
Bruce A. Mah
61fa74d8aa
New release note: route(8) add -ifp/-ifa.
...
Submitted by: ru
2001-10-19 20:02:22 +00:00
David E. O'Brien
9f9bd82e15
Try two on the preprocessing logic.
...
Reviewed by: ru
2001-10-19 20:01:01 +00:00
John Baldwin
fb63feef6f
- Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h.
...
- Change LOCK_DEBUG so that it is always on if KTR is compiled in
regardless of the state of KTR_COMPILE. This means that we no longer
need to include sys/ktr.h before sys/lock.h to ensure a valid setting
for LOCK_DEBUG.
- Change the use of LOCK_DEBUG so that it is now always defined and its
value is used instead of merely its definition. That is, instead of
#ifdef LOCK_DEBUG, code should now use #if LOCK_DEBUG > 0.
- Use this latest to #error out in sys/mutex.h if sys/lock.h isn't
included before sys/mutex.h to ensure that the proper versions of the
mutex operations are used.
- As a result of (2) sys/mutex.h no longer includes sys/ktr.h in the
KERNEL case.
Requested by: bde (1)
2001-10-19 19:28:18 +00:00
John Baldwin
e37d2a8c82
Remove unneeded sys/mutex.h includes.
2001-10-19 19:23:32 +00:00
John Baldwin
d6e19ad10e
Move sys/mutex.h include after sys/lock.h to ensure we use the proper
...
versions of the mutex operations.
2001-10-19 19:22:04 +00:00
David E. O'Brien
4b16cf4f8a
Blah, fix braino where ru had to remind me of proper preprocessor syntax.
...
Bad fingers, no cookie.
2001-10-19 19:17:11 +00:00
Jens Schweikhardt
f828df9d17
Properly handle backslash newline within an identifier or keyword.
...
PR: bin/6015
Submitted by: myself (schweikh)
Patch by: Alexey V.Neyman <alex.neyman@auriga.ru>
Tested by: indenting my chess problem solver and running its test suite
MFC after: 3 weeks
2001-10-19 19:10:36 +00:00
Matt Jacob
e58c2b8381
Fix this so it compiles cleanly for alpha. Tried to do some minimal testing.
...
Reviewed by: freebsd-net
2001-10-19 18:29:57 +00:00
Dag-Erling Smørgrav
32c798f806
Argh! I updated the version number in the MODULE_DEPEND() thingamagook but
...
not in the actual MODULE_VERSION(). Pass me the pointy hat.
2001-10-19 18:23:51 +00:00
Bruce A. Mah
5b41c0773e
New release notes: libstand/loader(8) bzip2 support, isdnphone(8) -k,
...
arp(8) fddi/atm output.
MFC noted: arp(8) interface name in output.
2001-10-19 16:27:05 +00:00
Mark Peek
6b2d0a7791
Cleanup of the stdarg code.
...
Submitted by: ru
2001-10-19 16:15:46 +00:00
Brian Somers
0860ce5d69
Include the right i4b files for NetBSD
2001-10-19 15:56:56 +00:00
Jonathan Lemon
bb373620cb
Fix the le driver - it has been broken for a while and these fixes have
...
been sitting neglected in my tree.
2001-10-19 15:47:41 +00:00
Bruce A. Mah
81f6505ee2
New release and hardware note: gx(4).
...
While I'm here, fix a minor markup glitch in bge(4) release note.
2001-10-19 15:01:54 +00:00
Ruslan Ermilov
4a70bdf9f6
mdoc(7) police: join OS version with the corresponding macro.
2001-10-19 14:44:13 +00:00
Søren Schmidt
7ebc82d6ec
Make an ATAPI CD device appear as /dev/acdN and the individual
...
tracks as /dev/acdNtY.
This solves the problems with having to deal with howmany and which
devices are open.
For hysterical reasons ONLY, make a link to both the acdNa & acdNc devices.
2001-10-19 13:34:48 +00:00