summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Various nits and fixups so that the text reads smoother in several places.jhb2006-04-191-69/+80
| | | | | Also, more closely match the prototypes in sys/rwlock.h and add a BUGS section.
* Trim a couple of xrefs.jhb2006-04-191-2/+0
|
* Free some previously leaked memory on module unload.ps2006-04-191-2/+9
|
* Remove sab(4).marcel2006-04-192-3/+0
|
* Add a missing .Pp call.brueffer2006-04-191-0/+1
| | | | MFC after: 3 days
* Indentation fixesbrueffer2006-04-191-9/+9
|
* Document how the backoff delay is calculated.brueffer2006-04-191-1/+4
| | | | | Submitted by: markus MFC after: 3 days
* MFp4 (checkpoint of work in progress):imp2006-04-1934-48/+2979
| | | | | | | | | | | | o Use a directory layout that is more akin to the i386 boot layout. o Create a libat91 for library routines that are used by one or more of the boot loaders. o Create bootiic for booting from an iic part. o Create bootspi for booting from an spi part. o Optimize the size of many of these routines (especially emac.c). Except for the emac.c optimizations, all these have been tested. o eliminate the inc directory, libat91 superceeds it. o Move linker.cfg up a layer to allow it to be shared.
* Re-add option -C to usage().ru2006-04-191-1/+1
|
* Document the -C option of top(1), which has been added to the sourcekeramida2006-04-191-1/+13
| | | | | | | | and the usage message of top, but not to the manpage. Pointy hat to: keramida Reminded by: ru MFC after: 1 week
* Add -u and -U which functions like the jail(8) that allowdelphij2006-04-193-6/+80
| | | | | | | commands to be executed under a different credential. PR: bin/95777 Submitted by: clsung
* Correct a local information leakage bug affecting AMD FPUs.cperciva2006-04-192-2/+76
| | | | Security: FreeBSD-SA-06:14.fpu
* Make ldconfig as SERVER dependency. This makes it possibledelphij2006-04-191-1/+1
| | | | | | | | for some early starting services from the ports collection to have their shared objects available before start. Reviewed by: freebsd-rc (dougb, brooks) MFC After: 3 days
* Fxi tpyo.mjacob2006-04-181-1/+1
| | | | Noticed by: maxim
* Add ISP_DEFAULT_ROLES as a config option.mjacob2006-04-182-0/+6
|
* Actually check to see if XPT_CALC_GEOMETRY had an errormjacob2006-04-181-3/+17
| | | | | and pick a bogus geometry if it had so we don't later get a divide by zero trap.
* Update 2300 f/w. This will probably be the lastmjacob2006-04-181-5795/+5986
| | | | | update here before we switch to the new f/w loading framework.
* Do more guarding against zero divide traps for the geom subroutine.mjacob2006-04-181-1/+14
|
* In receiving a new ATIO, don't record the associated CCB in the targetmjacob2006-04-181-16/+15
| | | | | | | | state structure. This field is only for CCBs that are associated with actions that are occurring on the HBA (i.e., XPT_CONT_IO actions). This way we also don't get confused when the upstream listener stalls try and look at a CCB which has already been freed (by CAM).
* Correct usage example.ceri2006-04-181-1/+1
| | | | | | PR: docs/95059 Submitted by: Jos Backus MFC after: 4 days
* 'owner' is not used without SMP. Fix kernel build for such kernelwkoszek2006-04-181-0/+4
| | | | | | configurations. Approved by: jhb
* If we're doing a try-alloc of a pv entry and give up early, do not forgetpeter2006-04-181-0/+1
| | | | | | | to reduce the pv_entry_count counter. This was found by Tor Egge. In the same email, Tor also pointed out the pv_stats problem in the previous commit, but I'd forgotten about it until I went looking for this email about this allocation problem.
* pv_entry_count is more than a statistic. It is used for resource limiting.peter2006-04-181-3/+3
| | | | Do not compile out its counter updates if pv entry stats are turned off.
* Some grammar/language improvements, more to come. Also note somebrueffer2006-04-182-46/+44
| | | | merged items.
* o Describe what actually boot(8) -m mutes.maxim2006-04-181-1/+2
| | | | | | PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks
* Adaptively spin before blocking on the turnstile if an rwlock is writejhb2006-04-181-7/+88
| | | | | | | | | | | | | | locked. In general the adaptive spinning is similar to the same code for mutexes with some extra trickiness in rw_wunlock_hard(). Specifically, even though both wait bits might be set and we might have a turnstile with at least one waiting thread, there might not be any threads blocked on the queue we are not waking up (they might all be spinning), and we should only preserve the waiting flag for the queue we aren't waking up if there are in fact threads blocked on that queue. Secondly, there might not be any threads blocked on the queue we have chosen to waken threads from (there might only be threads blocked on the other queue and the threads for this queue are all spinning) in which case we disown the turnstile instead of doing a braodcast and unpend.
* Update comments to mention that each turnstile contains two queues and tojhb2006-04-181-4/+11
| | | | describe turnstile_disown() and turnstile_empty().
* - Bring back turnstile_empty() which can check to see if an individualjhb2006-04-182-0/+69
| | | | | | queue on a turnstile is empty. - Add a turnstile_disown() function that allows a thread to give up ownership of a turnstile w/o waking up any waiters.
* Bring SYNOPSIS in line with usage().ru2006-04-182-7/+8
|
* - Move _rc_subr_loaded=: at the end of the file, to be consistent with NetBSD.flz2006-04-181-5/+8
| | | | | | | | | | | | - Sync with latest version from NetBSD. 'In order to handle some perl scripts running as daemons, add a pattern which also matches "`basename $interpreter`: $command" in the ps listing.' Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 1 week
* - Add new ntpd_config variable so that people can override it in rc.conf.flz2006-04-183-4/+16
| | | | | | | | - Add default value in /etc/defaults/rc.conf. - Add documentation bits to rc.conf(5). Approved by: cperciva (mentor) MFC after: 1 week
* Fix storing offset of already synchronized data. Offset in entire array waspjd2006-04-181-3/+5
| | | | | | | | | | | | | stored in metadata instead of an offset in single disk. After reboot/crash synchronization process started from a wrong offset skipping (not synchronizing) part of the component which can lead to data corrutpion (when synchronization process was interrupted on initial synchronization) or other strange situations like 'graid3 status' showing value more than 100%. Reported, reviewed and tested by: ru Reported by: Dmitry Morozovsky <marck@rinet.ru> MFC after: 1 day
* fix "ipf -Z" reporting rubbish and possibly panic'ing boxdarrenr2006-04-182-4/+10
| | | | MFC after: 4 days
* Fix an obvious bug.ru2006-04-181-1/+1
| | | | Submitted by: Alex Lyashkov <umka@sevcity.net>
* Add ldconfig to the list of requirements for named, needed to use bindflz2006-04-181-1/+1
| | | | | | | | | | from ports. The effect is that ldconfig is now started right after mountcritremote. Everything else is left unchanged. PR: conf/68916 Submitted by: JD Bronson <jd@aurora.org> Approved by: cperciva (mentor) MFC after: 1 week
* Merge rev. 1.240 of ip_output.c, so that IPFIREWALL_FORWARD_EXTENDEDglebius2006-04-181-2/+6
| | | | kernel option will affect both forwarding methods - classic and fast.
* In vfs_hash_get(): mount point should never be changeddelphij2006-04-182-3/+3
| | | | | | so explicitly constify the mp parameter. Reviewed by: phk
* Reorder the DRM_*_AGP enums to match linux and what our code expects, fixinganholt2006-04-181-2/+2
| | | | | | i915 attachment. Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
* Correct a typo: In order to make fixmount(8) quite, one shoulddelphij2006-04-181-1/+1
| | | | use -q, not -v.
* remove DRIVER_MODULE lines that are useless... pcf doesn't exist (onlyjmg2006-04-171-2/+0
| | | | | | | as pcf_ebus and pcf_isa, they should probably be fixed back to pcf), and bti2c doesn't exist, bktr has smbus or iicbb as children.. Brought to you by: http://people.FreeBSD.org/~jmg/driver.pdf
* - Add a rw_wowner() macro that just returns the owner of a write lock andjhb2006-04-171-26/+38
| | | | | | | | use it in places that only care about the write owner instead of rw_owner() as a baby step towards limited read-lock owner. - Tidy the code that sets the WAITER flag bits to not duplicate a test around the atomic operation and the KTR trace in both of the lock functions.
* - Since critical sections no longer raise the processor interrupt level tomarius2006-04-172-38/+46
| | | | | | | | | | | | | | | | | | | | | | | above what's used for fast interrupts, only interrupts with the level of the interrupt which led to calling intr_fast() (which is used with both fast and ithread interrupts) are blocked while in that function. Thus intr_fast() can be preempted by a fast interrupt (which are of a higher level than ithread interrupts) while servicing an ithread interrupt. This can lead to a stale pointer to the head of the active interrupt requests list when back in the ithread interrupt invocation of intr_fast(), in turn resulting in corruption of the interrupt request lists and consequently in a panic. Solve this be turning off interrupts in intr_fast() before reading the pointer to the head of the active list rather than after. [1] - Add a KASSERT in intr_fast() which asserts that ir_func is non-zero before calling it. [1] - Increment interrupt stats after calling the handlers rather than before. This reduces the delay until direct and fast handlers are serviced, in my testings by 30% on average for the direct tick interrupt handler, in turn resulting in less clock drift. PR: 94778 [1] Submitted by: Andrew Belashov [1] MFC after: 2 weeks
* Update comments to indicate that locks are held by threads, not processes.jhb2006-04-171-3/+3
|
* Add a 'show sleepqueue' alias for 'show sleepq' in DDB.jhb2006-04-171-0/+3
|
* Trim trailing whitespace.jhb2006-04-171-3/+3
|
* Add the ability to log to an arbitrary udp port as well as thejulian2006-04-172-6/+43
| | | | | standard syslog port. This allows syslog to easily export lines of interest to an external logging system.
* Update a couple of comments relating to RFCs.dwmalone2006-04-171-2/+5
|
* Back out a Makefile change that accidently snook in.dwmalone2006-04-171-1/+1
|
* Add a new module_file() function that returns the linker_file_t associatedjhb2006-04-172-0/+8
| | | | | | | | | | with a given module_t. I use this in some the MOD_LOAD event handler for some test kernel modules to ask the kernel linker to look up the linker sets in my test modules. (I use linker sets to generate the list of possible events that I then signal to execute via a sysctl. On non-amd64, ld(8) would resolve the entire linker set, but on amd64 I have to ask the kernel linker to do it for me, and having the kernel linker do it works on all archs.)
* - Sleep/wakeup operate on threads now, not processes.jhb2006-04-171-40/+62
| | | | | | | | | | - Describe msleep() as the primary sleep function now rather than tsleep() and describe tsleep() and msleep_spin() as variations. - Try to make the description of msleep() a bit closer to English (sentences with actual subjects, etc.) - Document that a priority of 0 now prevents the thread's priority from being altered. - Add a history note for wakeup_one().
OpenPOWER on IntegriCloud