summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Wrap the thread count adjustment in sched_load_add() and sched_load_rem()jeff2004-12-261-6/+30
| | | | | | so that we may place some ktr entries nearby. - Define other KTR_SCHED tracepoints so that we may graph the operation of the scheduler.
* - Remove earlier KTR_ULE tracepoints.jeff2004-12-261-32/+14
| | | | | - Define new KTR_SCHED points so that we can graph the operation of the scheduler.
* - Define KTR points for KTR_SCHED.jeff2004-12-263-0/+22
|
* - Add KTR_SCHED to produce ktr data for sys/tools/sched/schedgraph.py.jeff2004-12-261-2/+3
|
* - Add 'schedgraph' a scheduler trace visualization tool written withjeff2004-12-261-0/+1209
| | | | | | | | python and tkinter. Schedgraph takes input from files produces by ktrdump -ct when KTR_SCHED is compiled into the kernel. The output represents the states of each thread with colored line segments as well as colored points for non-state scheduler events. Each line segment and point is clickable to obtain extra detail.
* Remove an errant blank line apparently introduced inrwatson2004-12-251-1/+0
| | | | ip_output.c:1.194.
* In the dropafterack case of tcp_input(), it's OK to release the TCPrwatson2004-12-252-2/+2
| | | | | pcbinfo lock before calling tcp_output(), as holding just the inpcb lock is sufficient to prevent garbage collection.
* Revert parts of tcp_input.c:1.255 associated with the header predictedrwatson2004-12-252-4/+14
| | | | | | | | | | | | | cases for tcp_input(): While it is true that the pcbinfo lock provides a pseudo-reference to inpcbs, both the inpcb and pcbinfo locks are required to free an un-referenced inpcb. As such, we can release the pcbinfo lock as long as the inpcb remains locked with the confidence that it will not be garbage-collected. This leads to a less conservative locking strategy that should reduce contention on the TCP pcbinfo lock. Discussed with: sam
* fix commentphk2004-12-251-1/+1
|
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-254-61/+207
| | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* Make _umtx_op() as more general interface, the final parameter needn't bedavidxu2004-12-258-13/+12
| | | | timespec pointer, every parameter will be interpreted by its opcode.
* 1. introduce umtx_owner to get an owner of a umtx.davidxu2004-12-252-7/+21
| | | | | 2. add const qualifier to umtx_timedlock and umtx_timedwait. 3. add missing blackets in umtx do_unlock_and_wait.
* Allow selection of a recording source on USB audio devices.julian2004-12-253-8/+95
| | | | | | | PR: 75316 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow recording on at least some USB audio devices.julian2004-12-253-2/+73
| | | | | | | PR: 75311 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow volume control on more channels/inputsjulian2004-12-251-18/+129
| | | | | | | PR: 75276 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD with changes MFC after: 2 weeks
* MFNetBSD:julian2004-12-254-724/+1762
| | | | | | | | | | One of a set of patches submitted by Kazuhito HONDA to make the usb audio driver a lot more capable. PR: 75274 Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp) Obtained from: NetBSD (indirectly) MFC after: 2 weeks
* Darnit, through a maze of twisty passages, ipfilter needs to have PFIL_HOOKSscottl2004-12-251-1/+1
| | | | defined. Revert part of the previous commit to fix this.
* Don't define PFIL_HOOKS. It's no longer required in RELENG_5 or HEAD.scottl2004-12-251-1/+1
|
* Sprinkle in some __FreeBSD_version checks so that this compiles again. Don'tscottl2004-12-253-3/+6
| | | | | | define PFIL_HOOKS anymore. Submitted by: keramida
* Changes in comments:brueffer2004-12-251-4/+4
| | | | | | | | - correct a sentence so it actually has some meaning [1] - sprinkle some full stops Spotted by: markus [1] MFC after: 3 days
* Get rid of #ifdef for legacy system. Move that into the MD code.imp2004-12-244-6/+21
| | | | Export minimal symbols to allow this to happen.
* A few style(9) changes before more extensive changes:imp2004-12-242-74/+65
| | | | | | | o u_intXX_t -> uintXX_t o use 8 character tabs o proper wrapping o return (value);
* Make the other pnp messages more explicit as well...imp2004-12-241-1/+1
|
* For VLAN interfaces, print MAC addresses properly.ru2004-12-241-1/+2
| | | | | | | | (Broken in rev. 1.52.) PR: 75471 Submitted by: Jon Simola MFC after: 3 days
* Note when we're done probing PNP. There's been several reports over theimp2004-12-241-0/+2
| | | | | years of hangs that turned out to be in the PNP code. Add an explicit end marker so such hangs are more apparent.
* Various style(9) items before of some more extensive work:imp2004-12-242-67/+64
| | | | | | | | o return (value); o u_intXX_t -> uintXX_t o break lines o consistantly use 8 space tab stops o minor grammar nits in a few printfs
* GC #if 0'd code. It can go away now...imp2004-12-242-99/+0
|
* Continue the transition from synchronizing access to the page's PG_BUSYalc2004-12-241-11/+29
| | | | | | | | | flag and busy field with the global page queues lock to synchronizing their access with the containing object's lock. Specifically, acquire the containing object's lock before reading the page's PG_BUSY flag and busy field in vm_fault(). Reviewed by: tegge@
* Identify USIIIi processors.scottl2004-12-242-0/+4
| | | | | Submitted by: Gavin Atkinson PR: 75468
* Enable sk(4) for ATLQ.mlaier2004-12-243-12/+17
| | | | | Thoroughly tested by: Ender <ender NO tog SPAM net> MFC after: 4 weeks
* Loosen the probe a bit.sos2004-12-241-5/+9
| | | | | Try to get out of probing as early as possible on (hopefully) vacant channels.
* Update the Promise support for combo (SATA+PATA) controllers.sos2004-12-241-1/+6
|
* "3 hands"wilko2004-12-241-0/+7
|
* Add umtxq_lock/unlock around umtx_signal, fix debug kernel compiling,davidxu2004-12-241-5/+9
| | | | | let umtx_lock returns EINTR when it returns ERESTART, this lets userland have chance to back off mtx lock code when needed.
* 1. Fix race condition between umtx lock and unlock, heavy testingdavidxu2004-12-242-137/+107
| | | | | on SMP can explore the bug. 2. Let umtx_wake returns number of threads have been woken.
* Restore standard behavior: log to console only when normal loggingglebius2004-12-241-2/+3
| | | | | | | | | failed, not always. PR: bin/75356 Submitted by: Mark Knight <markk knigma org> Pointy hat to: glebius MFC after: 3 days
* Enable fine grained locking within IPFilter, using mtx(9) and sx(9) allowingdarrenr2004-12-249-27/+81
| | | | the the "needs giant" flag to be removed from the driver.
* ``NULL is a specific instance of a null pointer constant; the generic iskeramida2004-12-236-30/+12
| | | | | | | | | | | | | a "null pointer".'' Making good use of the excellent explanations sent to me by Ruslan Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of null pointers. They are just "null pointers", not nil, not NULL or ".Dv NULL". Suggested by: ru, wollman, bde Reviewed by: ru, wollman Pointy hat: keramida
* Fix creation on "dlciX" hook in ng_sample.rik2004-12-231-2/+3
| | | | | Approved by: julian MFC after: 3 days
* Turn NFS directio off until the stability issues are resolved.ps2004-12-231-1/+1
|
* Update disk->d_genid field when increasing sc->sc_genid.pjd2004-12-231-0/+1
|
* - Give the timer, thermal, and error LVT entries an interrupt vector evenjhb2004-12-231-22/+30
| | | | | | | | | | | | | | though these aren't used yet. - Add missing function prototypes for some static functions. - Allow lvt_mode() to handle an LVT entry with a delivery mode of fixed. - Consolidate code duplicated in lapic_init() and lapic_setup() to program the spurious vector register of a local APIC in a static lapic_enable() function. - Dump the timer, thermal, error, and performance counter LVT entries during lapic_dump(). - Program LVT pins (currently only LINT0 and LINT1) after the local APIC has been software enabled via lapic_enable() since otherwise the LVT programming will not be able to unmask LVT sources.
* Some small style fixes.jhb2004-12-231-3/+2
|
* Add some constants for the local APIC timer.jhb2004-12-231-0/+5
|
* Add a simple 'intrcnt_add' function that other MD code can use to add ajhb2004-12-232-0/+12
| | | | | single named counter to the interrupt counts without having to fake up an entire interrupt source.
* Modify pmap_enter_quick() so that it expects the page queues to be lockedalc2004-12-2311-30/+19
| | | | | | | | | | | on entry and it assumes the responsibility for releasing the page queues lock if it must sleep. Remove a bogus comment from pmap_enter_quick(). Using the first change, modify vm_map_pmap_enter() so that the page queues lock is acquired and released once, rather than each time that a page is mapped.
* - Add a function to set the Task Priority Register (TPR) of the local APIC.jhb2004-12-232-18/+39
| | | | | | | | | | | | | | | Currently this is only used to initiailize the TPR to 0 during initial setup. - Reallocate vectors for the local APIC timer, error, and thermal LVT entries. The timer entry is allocated from the top of the I/O interrupt range reducing the number of vectors available for hardware interrupts to 191. Linux happens to use the same exact vector for its timer interrupt as well. If the timer vector shared the same priority queue as the IPI handlers, then the frequency that the timer vector will eventually be firing at can interact badly with the IPIs resulting in the queue filling and the dreaded IPI stuck panics, hence it being located at the top of the previous priority queue instead. - Fixup various minor nits in comments.
* Fix counting length of leadin for hook name (sizeof () => strlen ()).rik2004-12-231-1/+1
| | | | | Approved by: julian MFC after: 3 days
* Warn about the NOFOO -> NO_FOO conversion, and remind users toru2004-12-231-0/+7
| | | | | read the COMMON ITEMS section of this file for proper upgrade instructions.
* Move systm.h up, since it is required by mbuf.h.glebius2004-12-231-1/+1
| | | | Requested by: ru
OpenPOWER on IntegriCloud