summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add 'cleanobj' to the default target list.des2005-04-301-1/+1
|
* _ht_gethostbyname didn't handle RES_USE_INET6 correctly.ume2005-04-301-6/+18
|
* Fix an old pasto.des2005-04-301-1/+1
|
* Take newbusification one step further, ie use the device_t more consequentlysos2005-04-3019-583/+601
| | | | | | | all way through the code down the layers, instead of the mix'n'match that resulted from the conversion done earlier. Sponsored by: pair.com
* Add some subversive code to cleandir: remove the sbin/ipf treeimp2005-04-301-0/+1
| | | | | entirely to fix the tinderbox machine. This change will be reverted once the tinderboxen are tindering again.
* - Remove long dead splbio() calls and comments relating to the oldjeff2005-04-301-71/+4
| | | | synchronization mechanism.
* - Don't acquire Giant before calling b_biodone, individual consumers arejeff2005-04-301-6/+0
| | | | | | now required to do so themselves. Sponsored by: Isilon Systems, Inc.
* - Use bdone() directly instead of calling it indirectly throughjeff2005-04-301-11/+1
| | | | | | ffs_rawreaddone(). Sponsored by: Isilon Systems, Inc.
* - Acquire Giant in AIO's iodone routine. VFS will no longer do it for usjeff2005-04-301-0/+2
| | | | | | soon. Sponsored by: Isilon Systems, Inc.
* - Call VM_LOCK_GIANT in cluster_callback() to protect some pmap calls. VFSjeff2005-04-301-0/+2
| | | | | | will not be acquiring Giant before calling this function anymore. Sponsored by: Isilon Systems, Inc.
* - VM_LOCK_GIANT in the swap pager's iodone routine as VFS will soon call itjeff2005-04-301-0/+2
| | | | | | without Giant. Sponsored by: Isilon Systems, Inc.
* - Mark devfs as MNTK_MPSAFE as I belive it does not require Giant.jeff2005-04-301-0/+1
| | | | | Sponsored by: Isilon Systems, Inc. Agreed in principle by: phk
* - In vnlru_free() remove the vnode from the free list before we calljeff2005-04-301-33/+51
| | | | | | | | | | | | vtryrecycle(). We could sometimes get into situations where two threads could try to recycle the same vnode before this. - vtryrecycle() is now responsible for returning the vnode to the free list if it fails and someone else hasn't done it. - Make a new function vfreehead() which moves a vnode to the head of the free list and use it in vgone() to clean up that code a bit. Sponsored by: Isilon Systems, Inc. Reported by: pho, kkenn
* Fix spelling errors.joel2005-04-301-2/+2
| | | | Approved by: brueffer (mentor)
* Do not unconditionally mount devfs to ${jail_devdir}/dev. First checkcsjp2005-04-301-9/+12
| | | | | | | | | to see if a prior devfs has been mounted. If no devfs is mounted on ${jail_devdir}/dev then proceed. This will prevent the stack up of multiple devfs mounts on the same mount point. Discussed with: pjd MFC after: 1 week
* To allow /etc to be as minimal as possible in a diskless setup, we needbrooks2005-04-297-373/+9
| | | | | | | | | | | | | to run initdiskless before we run rcorder on /etc/rc.d. To allow this, move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly from /etc/rc. Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start with entropy unblocked) and was only used by initdiskless when it was needed. Discussed on: freebsd-rc Repocopy by: peter
* Add PROC_UNLOCK(p) to PTRACESTOP_SC(p, td, flag). This is necessarycperciva2005-04-291-0/+1
| | | | | | | | due to a change made in revision 1.284 of sys/kern/kern_sig.c in August 2004 which made ptracestop() return with the process still locked. Submitted by: Mauritz Sundell MFC After: 3 days
* If we resort to opening a slice instead of the base device, do so withphk2005-04-291-1/+1
| | | | the correct mode for our arguments.
* Make call to tw_cl_deferred_interrupt in twa_poll, not dependent on thevkashyap2005-04-291-2/+12
| | | | return value from tw_cl_interrupt.
* - do validation check and IPv4-mapped IPv6 address handling beforeume2005-04-292-36/+41
| | | | | | | | | any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). Inspired by: NetBSD
* Modify UMA to use critical sections to protect per-CPU caches, rather thanrwatson2005-04-292-113/+120
| | | | | | | | | | | | | | | | | | | mutexes, which offers lower overhead on both UP and SMP. When allocating from or freeing to the per-cpu cache, without INVARIANTS enabled, we now no longer perform any mutex operations, which offers a 1%-3% performance improvement in a variety of micro-benchmarks. We rely on critical sections to prevent (a) preemption resulting in reentrant access to UMA on a single CPU, and (b) migration of the thread during access. In the event we need to go back to the zone for a new bucket, we release the critical section to acquire the global zone mutex, and must re-acquire the critical section and re-evaluate which cache we are accessing in case migration has occured, or circumstances have changed in the current cache. Per-CPU cache statistics are now gathered lock-free by the sysctl, which can result in small races in statistics reporting for caches. Reviewed by: bmilekic, jeff (somewhat) Tested by: rwatson, kris, gnn, scottl, mike at sentex dot net, others
* Enable dc(4) and rl(4) in the PAE kernel.obrien2005-04-291-2/+0
| | | | Both have been busdma'ed for use and tested in the Sparc64 kenrel.
* NETDB_INTERNAL is not fit, here. return NO_RECOVERY for h_errno.ume2005-04-294-4/+4
|
* Rename the directive_hash.[ch] files to hash_tables.[ch] nowharti2005-04-294-11/+10
| | | | | | | that there are more than one hash table in them. There is no history to preserve here, so go without a repo-copy. Asked for by: Max Okumoto <okumoto@ucsd.edu>
* Remove the Netgear WG311 from the list. The v1 card is supported, butbrooks2005-04-291-1/+0
| | | | | | | | | the v2 card is a TI. Since we're not attempting to keep this list complete, removing this is best. Reported by: Brian Candler <B dot Candler at pobox dot com> Evan Dower <evantd at hotmail dot com> MFC After: 1 day
* Toggle on warnings. This resolves the problem with building old releasesharti2005-04-291-0/+3
| | | | | | | (getting zillions of warnings). Building an old release uses that release's sys.mk which does not switch on these warnings, so make will be silent. They can be switch on on the command line with the -x option to make. This has been tested by building RELENG_5_4 on CURRENT.
* our get{addr,name}info() is considered thread-safe.ume2005-04-292-8/+0
|
* Implement a pseudo-target .WARN that allows toggeling the warning flagsharti2005-04-296-32/+109
| | | | | for the current make. This does not override flags specified on the command line and these settings are not passed to sub-makes.
* we cannot use inet_ntoa(3), here. so, use inet_ntop(3), instead.ume2005-04-292-5/+11
|
* Now that probing is working in the new fashion, we need to go back tosos2005-04-294-193/+165
| | | | | | having ata_getparm issue an ata_request and not fool around with the HW on its own. Needed for new HW support.
* o Typo: s/teminal/terminal/.maxim2005-04-291-1/+1
| | | | Submitted by: Michal Varga
* This commit was generated by cvs2svn to compensate for changes in r145673,harti2005-04-291-14/+4
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: fix a bug that was introduced when moving from libisc toharti2005-04-291-14/+4
| | | | | | | | | | libbegemot: the rpoll_start_timer function needs the timeout value in milli-seconds, not the absolute time when the timer should tick.
* | Add flag to choose whether to use getgrouplist(3) or getgroups(2)robert2005-04-291-6/+11
| | | | | | | | | | | | | | | | | | to the id_print() function. Use getgrouplist(3) for the case when an user was specified, and getgroups(2) when no user was given. That reverts to the expected behaviour and makes it easy to implement an option later to force using getgrouplist(3).
* | Fix spelling error.robert2005-04-291-1/+1
| |
* | Remove trailing spaces.pjd2005-04-291-1/+1
| |
* | Add a detach for pci bridge and pci bus drivers. This allows one toimp2005-04-292-0/+2
| | | | | | | | | | | | | | | | theoretically unload pci bridges or pci drivers. It will also allow detach to work if one needed to detach a subtree. This is inspired by looking at the p4 commits from bms to his 5.4 tree, but I didn't look at the final results.
* | Fix the following warnings on amd64:ru2005-04-291-2/+2
| | | | | | | | | | | | | | /usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c: In function `fr_ipid_newfrag': /usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c:397: warning: cast to pointer from integer of different size /usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c: In function `fr_ipid_knownfrag': /usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c:582: warning: cast from pointer to integer of different size
* | Only create the rdpti alias if the asr device creation succeeds.scottl2005-04-291-1/+2
| |
* | For whatever reason, we don't allow USB on PAE. Since it's a dependencyscottl2005-04-291-0/+1
| | | | | | | | for EHCI, exclude that driver also.
* | Don't bother pretending that CAM will send CAM_DATA_PHYS pointers. It'sscottl2005-04-291-5/+1
| | | | | | | | a concept that is fundamentally broken with PAE.
* | Update the file.* entries for the new home of hwpmcscottl2005-04-294-12/+12
| |
* | In pcib_alloc_resource() check if the resource allocation request ismarcel2005-04-291-0/+16
| | | | | | | | | | | | | | | | | | | | | | for the VGA I/O or memory ranges, when it's not within the default ranges decoded by the bridge. When allocation for VGA addresses is attempted, check that the bridge has the VGA Enable bit set before allowing it. As such, newbusified VGA drivers can allocate their resources when the VGA adapter is behind a PCI-to-PCI bridge. Reviewed by: imp@, jhb@
* | Add pci_is_vga_ioport_range() and pci_is_vga_memory_range() as inlinemarcel2005-04-291-0/+18
| | | | | | | | | | | | | | functions. These functions centralize the details of which I/O port and memory ranges belong to VGA. Reviewed by: imp@, jhb@
* | Add defines for the Bridge Control Register bits.marcel2005-04-291-0/+13
| | | | | | | | Obtained from: jhb@
* | IPFIlter problems that prevented building should all now be resolved sodarrenr2005-04-281-5/+0
| | | | | | | | remove this temporary measure.
* | Update the manual page for ppp(8).jcamou2005-04-281-21/+3
| | | | | | | | | | | | | | PR: docs/78605 Submitted by: John E. Hein <jhein@timing.com> Approved by: trhodes (mentor) MFC after: 1 day
* | Provide a default setmode method.sos2005-04-284-36/+9
| | | | | | | | This shaves off multiple copies of the same setmode stub.
* | Rearrange the way the reset code is called.sos2005-04-286-14/+18
| | | | | | | | Prepare for different looking controllers.
* | Don't use quad_t on FreeBSD (deprecated) so use "long long" instead.darrenr2005-04-282-4/+4
| | | | | | | | | | Someday this should be converted to uint64_t and printstate.c changed to use those horrid PRiud64 things.
OpenPOWER on IntegriCloud