summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC: 1.11: fix the threshold for (not) using the simple Taylor approximation.bde2007-06-141-1/+1
|
* Add a missing Va option.brueffer2007-06-141-1/+1
|
* In the previous changeset a cast of myminor to u_int weredelphij2007-06-141-1/+1
| | | | | | | | | | | removed, which will cause problems on architectures where longs are longer than ints, for instance, "mknod foo c 0 0xffff00ff" would fail in such cases. Use a proper cast instead. Prompted by: bde
* Spell statistics more correctly in comments.rwatson2007-06-142-2/+2
|
* Include priv.h to pick up suser(9) definitions, missed in an earlierrwatson2007-06-136-3/+6
| | | | | | commit. Warnings spotted by: kris
* Don't clobber tf_err with the eva from a page fault as the page faultjhb2007-06-131-3/+0
| | | | | | | address is saved in ksi_addr already. PR: i386/101379 Submitted by: Tijl Coosemans : tijl ulyssis org
* Close a very narrow race that might cause a trigger allocation to berwatson2007-06-131-7/+6
| | | | | | leaked if a trigger is delivered as the trigger device is closed. Obtained from: TrustedBSD Project
* config_detach is just used in one place, so expand it inline.imp2007-06-132-9/+6
|
* Improve the ktrace locking somewhat to reduce overhead:jhb2007-06-132-18/+26
| | | | | | | | | | | | | | | | | | - Depessimize userret() in kernels where KTRACE is enabled by doing an unlocked check of the per-process queue of pending events before acquiring any locks. Previously ktr_userret() unconditionally acquired the global ktrace_sx lock on every return to userland for every thread, even if ktrace wasn't enabled for the thread. - Optimize the locking in exit() to first perform an unlocked read of p_traceflag to see if ktrace is enabled and only acquire locks and teardown ktrace if the test succeeds. Also, explicitly disable tracing before draining any pending events so the pending events actually get written out. The unlocked read is safe because proc lock is acquired earlier after single-threading so p_traceflag can't change between then and this check (well, it can currently due to a bug in ktrace I will fix next, but that race existed prior to this change as well). Reviewed by: rwatson
* Conditionally acquire Giant when dropping a reference on the ktrace vnodejhb2007-06-131-1/+6
| | | | | | | | | | during execve() when turning off tracing due to executing a setuid binary as non-root. Previously this could fail to acquire Giant and fail an assertion if the ktrace file was on a non-MPSAFE filesystem and the executable was on an MPSAFE filesystem. MFC after: 3 days Reported by: kris
* Catch up with the code.brueffer2007-06-131-2/+2
| | | | Submitted by: peter
* Failing to set new frequency should not lead to powerd exiting.marck2007-06-131-1/+1
| | | | | | Change err(3) to warn(3) as three other cases. Approved by: njl, des
* Add the vlan tag to the bridge route table. This allows a vlan trunk to bethompsa2007-06-133-28/+57
| | | | | | | bridged, previously legitimate traffic was not passed as the bridge could not tell that it was on a different Ethernet segment. All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003
* Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion ofrwatson2007-06-133-13/+0
| | | | | | | | | | | | | | | previous commit: Remove IPX over IP tunneling support, which allows IPX routing over IP tunnels, and was not MPSAFE. The code can be easily restored in the event that someone with an IPX over IP tunnel configuration can work with me to test patches. This removes one of five remaining consumers of NET_NEEDS_GIANT. Approved by: re (kensmith) Spotted by: Artem Naluzhny <tutat nhamon dot com dot ua>
* Do not attempt to enable AHCI mode on ALi SATA controllers otherbms2007-06-131-1/+4
| | | | | | | | | | | than the 5288. It is not correctly implemented in earlier silicon, and the BIOS often lies about AHCI capability on platforms where these chips are deployed. With this change I am able to boot FreeBSD on the ASUS Vintage AH-1 barebones system. Approved by: sos
* Add myself as a commiter.timur2007-06-132-0/+4
| | | | Approved by: shaun (mentor)
* - fix bindx to check addresses against socket's protocol familyrrs2007-06-131-0/+34
|
* Remove IPX over IP tunneling support, which allows IPX routing over IPrwatson2007-06-1310-588/+2
| | | | | | | | | | tunnels, and was not MPSAFE. The code can be easily restored in the event that someone with an IPX over IP tunnel configuration can work with me to test patches. This removes one of five remaining consumers of NET_NEEDS_GIANT. Approved by: re (kensmith)
* Remove two more instances of the USBDEV() macro.ru2007-06-131-2/+2
|
* Add missing ng_uncallout() on node shutdown.mav2007-06-131-0/+2
| | | | Approved by: glebius (mentor)
* Major update for the recently overhauled nfe(4) driver.brueffer2007-06-131-6/+107
| | | | Reviewed by: yongari
* Unbreak high resolution profiling a little: use dummy asms to preventbde2007-06-131-1/+6
| | | | | | | | | | timing loops being optimized away. Once apon a time, gcc promised not to optimize away timing loops, but gcc started optimizing away the call to a null function in the timing loop here some time between gcc-3.3.3 and gcc-3.4.6, and it started optimizing away the timing loop itself some time between gcc-3.4.6 and gcc-4.2.
* Eliminate dead code: We have not performed pageouts on the kernel objectalc2007-06-131-3/+1
| | | | in this millenium.
* Remove more unnecessary and unwanted __OtherBSD__ ifdefs.imp2007-06-136-206/+1
|
* Remove more __OtherBSD__ ifdefs that don't make sense, and haven't forimp2007-06-137-132/+0
| | | | some time.
* Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functionalimp2007-06-1330-79/+158
| | | | change, and MD5's appear to be the same.
* - import new common code for the T304kmacy2007-06-1317-767/+1489
| | | | | | | | | | | | | | | | | | | | | | | - update to firmware version 4.1.0 - switch over to standard method for initializing cdevs (contributed by scottl@) - break out timer_reclaim_task to be per-port - move msix teardown into separate function - fix bus_setup_intr for msi-x for the multi-port case so that msi-x resources are not corrupted on unload - handle 10/100/1000 base-T media and auto negotiation - bind qset to cpu even for singleq case - white space cleanups - remove recursive PORT_LOCK - move mtu setting to separate function - stop and re-init port when changing mtu - replace all direct references to m_data with calls to mtod - handle attach failure better by not trying to de-initialize taskqueues when they have not been allocated - no longer default to jumbo frames Sponsored by: Chelsio MFC after: 3 days
* WARNS=6delphij2007-06-131-11/+6
|
* Enable GEOM_PART_MBR by default. On ia64 this replaces GEOM_MBR.marcel2007-06-132-1/+2
|
* Add the MBR partitioning scheme to g_part. This does not yetmarcel2007-06-134-0/+373
| | | | support the ability to install boot code.
* Make 'ar' write test a tad more portable.kientzle2007-06-131-3/+3
|
* Read support for the new GNU tar sparse formats added in gtar 1.15 andkientzle2007-06-133-84/+570
| | | | gtar 1.16.
* Add some options to libarchive_test:kientzle2007-06-131-12/+50
| | | | | -k: like make -k, try to keep going after errors. -q: quiet
* Fix a broken function declaration.kientzle2007-06-131-1/+1
|
* sctp_process_inpcb() wants an offset parameter in size_t,delphij2007-06-131-1/+1
| | | | | so define it as what it is expected. This fixes WARNS=3 without NO_WERROR build.
* Regen.sepotvin2007-06-131-1/+21
|
* Options spring cleanup:sepotvin2007-06-137-7/+19
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* - Fixed cookie handling to calc an RTO whenrrs2007-06-139-58/+57
| | | | | | | | | | its an INIT collision case. - Fixed RTO calc to maintain a seperate variable to track if a RTO calc as been done, this allows the RTO var to be doubled during initial timeouts. - Reduces the amount of stack used by process control. - Use a constant for the peer chunk overhead. - Name change to spell candidate correctly.
* Catch up with USB cleanups and fix the worldemax2007-06-131-21/+15
|
* - Include opt_sched.h for SCHED_STATS.jeff2007-06-123-0/+3
|
* Fix yet another (make install) stopper with wrong sourcefilter.3 linksache2007-06-121-2/+2
|
* Remove compat macros. md5 the same.imp2007-06-121-6/+11
|
* Recoverdisk is now part of the base system.phk2007-06-123-436/+0
|
* Add recoverdisk to the base system, it is far too useful to livephk2007-06-121-0/+1
| | | | | | in obscurity over in src/tools. (Repocopied)
* fix cassert failure by adjusting paddingkmacy2007-06-121-1/+1
|
* Fix typo in filename from mismerged earlier rev of this file.bms2007-06-121-1/+1
|
* - Fix kse by moving the upcalls list back out of the zero'd section.jeff2007-06-121-1/+3
| | | | I had tested this with the wrong libpthread.
* Use if_capenable to allow LRO enabled drivers to bypassgallatin2007-06-121-1/+2
| | | | the MTU check in ether_input().
* - Garbage collect unused concurrency functions.jeff2007-06-121-23/+0
|
* - Garbage collect unused concurrency functions.jeff2007-06-124-29/+20
| | | | | | | | - Remove unused kse fields from struct proc. - Group remaining fields and #ifdef KSE them. - Move some kern_kse.c only prototypes out of proc and into kern_kse. Discussed with: Julian
OpenPOWER on IntegriCloud