summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Avoid re-zeroing memory in calloc() when possible.jasone2007-11-271-143/+218
|
* Fix stats printing of the amount of memory currently consumed by hugejasone2007-11-271-36/+37
| | | | | | | | | | | allocations. [1] Fix calculation of the number of arenas when 'n' is specified via MALLOC_OPTIONS. Clean up various style inconsistencies. Obtained from: [1] NetBSD
* Use the most recent Xorg manpage set that we have.bmah2007-11-261-1/+1
|
* New release note: wpi(4).bmah2007-11-261-1/+3
|
* Simplify the adaptive spinning algorithm in rwlock and mutex:attilio2007-11-262-141/+113
| | | | | | | | | | | | | | | | | | | | | currently, before to spin the turnstile spinlock is acquired and the waiters flag is set. This is not strictly necessary, so just spin before to acquire the spinlock and to set the flags. This will simplify a lot other functions too, as now we have the waiters flag set only if there are actually waiters. This should make wakeup/sleeping couplet faster under intensive mutex workload. This also fixes a bug in rw_try_upgrade() in the adaptive case, where turnstile_lookup() will recurse on the ts_lock lock that will never be really released [1]. [1] Reported by: jeff with Nokia help Tested by: pho, kris (earlier, bugged version of rwlock part) Discussed with: jhb [2], jeff MFC after: 1 week [2] John had a similar patch about 6.x and/or 7.x about mutexes probabilly
* Although the entire src tree builds cleanly now without -fno-strict-aliasingjb2007-11-261-2/+2
| | | | | | | in the default CFLAGS, we're in the middle of a ports freeze, so we can't really go making the corresponding change to the ports mk files. I'll take -fno-strict-aliasing out again when the ports freeze ends.
* Add a note to indicate that these files do borrow in part from mbr.s andjhb2007-11-262-0/+4
| | | | | | boot1.S Requested by: rnordier
* Be more careful handling off-channel frames: if the driver (wrongly)sam2007-11-261-3/+4
| | | | | | | | | | | sends frames up the stack after changing the current channel then the lookup by ieee channel number may fail leaving a null ptr in se_chan; if this happens fallback to the channel recorded when the frame is processed (curchan). Since the frame doesn't contribute to scan results for the sta this is acceptable. Reviewed by: thompsa MFC after: 3 days
* Add the Intel 82801FB (ICH6) SMBus controller and theremko2007-11-261-0/+8
| | | | | | | | | | | | Intel 82801GB (ICH7) SMBus controller. PR: 85106 [1] PR: 99663 [2] Approved by: imp (mentor), jhb Submitted by: Oliver Fromme <olli at lurza.secnetix dot de>, [1] Arthur Hartwig <arthur dot hartwig at nokia dot com>, [1] Lowell Gilbert <lgfbsd at be-well dot ilk dot org> [2]@ MFC After: 3 days
* Fix for a reported panic in certain circumstances. Whenjfv2007-11-261-2/+17
| | | | | calling em_stop() now make sure the TX lock is held as well as CORE.
* Use device_set_desc_copy in the generic ident as its used on a temp buffer.sos2007-11-261-1/+1
|
* Add the FNW3603TX Planex NIC.remko2007-11-262-0/+7
| | | | | | | PR: 76081 Approved by: imp (mentor) Submitted by: umi at pocke dot org MFC After: 3 days
* Add the 845M GMCH controller.remko2007-11-261-0/+2
| | | | | | | PR: 114802 Approved by: imp (mentor), anholt (private mail) Submitted by: Alex Goncharov <algo1 at comcast dot net> MFC After: 3 days
* Bump .Dd for previous revision.brueffer2007-11-261-1/+1
|
* Implement read_default_ldt in linux_modify_ldt(). It copies out zeroedkib2007-11-261-0/+9
| | | | | | | | descriptor, like real Linux does. Tested by: Yuriy Tsibizov <yuriy.tsibizov at gmail com> Submitted by: rdivacky MFC after: 1 week
* Mention less upgrade to v416.delphij2007-11-261-1/+1
|
* Resolve conflicts.delphij2007-11-261-5/+8
|
* This commit was generated by cvs2svn to compensate for changes in r173932,delphij2007-11-269-56/+62
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of less v416.delphij2007-11-2610-61/+70
| |
| * Nuke file removed from author's distribution.delphij2007-11-161-58/+0
| |
* | Fix 3 issues relating to the use of "auth" rules in IPFilter, from sourceforge:darrenr2007-11-263-18/+11
| | | | | | | | | | | | | | | | | | | | | | | | 1837014 Kernel panics after authentication of an outgoing packet 1836992 Potential bugs in packet auth code (w/patches) 1836967 Kernel panic when using auth rule with keep state and another reported only to FreeBSD by Andiry (see PR) PR: kern/118251 Submitted by: Andriy Syrovenko <andriys@gmail.com> Reviewed by: darrenr MFC after: 5 days
* | Implement the _long functions using u_long rather than trying tojb2007-11-261-5/+43
| | | | | | | | | | | | cast as uint32_t which is defined as unsigned int. gcc doesn't want to consider that there might not be much difference between an int and a long on a 32 bit architecture.
* | Add Dell's Photo AIO Printer 926.jb2007-11-261-0/+1
| |
* | silence compiler complaintssam2007-11-261-2/+3
| |
* | - Allow source descriptors with no data to be used as arguments to thejkoshy2007-11-262-12/+5
| | | | | | | | | | | | | | | | | | elf{32,64}_xlateto[fm]() translation functions. This change makes our libelf compatible with other ELF(3) implementations. [1] - Update manual page to reflect this change. - Style fixes: wrap a long line. Submitted by: jb [1]
* | Move the added code in revision 1.26 into function pthread_key_create,davidxu2007-11-261-6/+6
| | | | | | | | it should be there.
* | Polish this manual page a bit:danger2007-11-261-73/+110
| | | | | | | | | | | | | | | | | | | | - refer to the dummynet(4) man page only once, later use rather the .Nm macro. - use .Va macro when refering to the sysctl variables - grammar and markup fixes Reviewed by: keramida, trhodes, ru (roughly) MFC-after: 1 week
* | Fix -jX when makefiles are remade.fjoe2007-11-251-0/+16
| |
* | Make contigmalloc(9)'s page laundering more robust. Specifically, usealc2007-11-253-4/+8
| | | | | | | | | | | | | | | | | | vm_pageout_fallback_object_lock() in vm_contig_launder_page() to better handle a lock-ordering problem. Consequently, trylock's failure on the page's containing object no longer implies that the page cannot be laundered. MFC after: 6 weeks
* | Clean up after previous revision.brueffer2007-11-251-4/+5
| |
* | pfil(9) locking take 3: Switch to rmlock(9)mlaier2007-11-252-11/+15
| | | | | | | | | | | | | | | | | | This has the benefit that rmlocks have proper support for reader recursion (in contrast to rwlock(9) which could potential lead to writer stravation). It also means a significant performance gain, eventhough only visible in microbenchmarks at the moment. Discussed on: -arch, -net
* | Tidy up: Add comments. Eliminate the pointlessalc2007-11-251-19/+23
| | | | | | | | | | | | | | malloc_type_allocated(..., 0) calls that occur when contigmalloc() has failed. Eliminate the acquisition and release of the page queues lock from vm_page_release_contig(). Rename contigmalloc2() to contigmapping(), reflecting what it does.
* | - Add an overview of the pmc(3) API.jkoshy2007-11-251-532/+331
| | | | | | | | | | - Defer detailed descriptions of individual functions in the API to function-specific manual pages.
* | Move the following functions into their own manual pages:jkoshy2007-11-258-16/+772
| | | | | | | | | | | | | | | | | | | | | | - pmc_attach(), pmc_detach(). - pmc_capabilities(), pmc_cpuinfo(), pmc_ncpu(), pmc_npmc(), pmc_pmcinfo(), pmc_width(). - pmc_get_driver_stats(). - pmc_get_msr(). - pmc_read(), pmc_rw(), pmc_write(). - pmc_set(). - pmc_start(), pmc_stop().
* | Have the lagg interface generate link up/down events, the interface is markedthompsa2007-11-251-0/+20
| | | | | | | | | | | | | | | | as up if at least one of its ports also has a link up. This fixes using carp+lagg together and any other system that relies on linkstate events. PR: kern/113956 MFC after: 3 days
* | - Document an EAGAIN error return from a PMC_OP_CONFIGURELOG request.jkoshy2007-11-251-11/+45
| | | | | | | | | | | | | | | | - Document some EINVAL error returns from PMC_OP_CONFIGURELOG, PMC_OP_WRITELOG and PMC_OP_FLUSHLOG that were missed earlier. - Correct a typo: s/PMC_OP_ALLOCATE/PMC_OP_PMCALLOCATE/. - Describe how log file writing errors are returned by a PMC_OP_FLUSHLOG request.
* | - Describe function pmc_init() in its own manual page.jkoshy2007-11-253-5/+195
| | | | | | | | | | - Describe functions pmc_configure_logfile(), pmc_flush_logfile() and pmc_writelog() in their own manual page.
* | Update sx(9) lock manpage in order to add missing prototypes for functionattilio2007-11-251-2/+17
| | | | | | | | sx_slock_sig() and sx_xlock_sig() and their respective explanation.
* | Update rwlock(9) manpage adding missing bits about the rw_init_flags()attilio2007-11-251-2/+33
| | | | | | | | | | | | | | function, its options and explaining that recursion for writers can be selectively enabled. Reported by: rwatson, Skip Ford <skip at menantico dot com>
* | More carefully handle various cases in sysctl_drop(), such as unlockingrwatson2007-11-241-3/+7
| | | | | | | | | | | | | | | | | | the inpcb when there's an inpcb without associated timewait state, and not unlocking when the inpcb has been freed. This avoids a kernel panic when tcpdrop(8) is run on a socket in the TIMEWAIT state. MFC after: 3 days Reported by: Rako <rako29 at gmail dot com>
* | Respell 'Conatainer' as 'Container'.rwatson2007-11-241-11/+11
| | | | | | | | | | MFC after: 3 days Reported by: Toomas Aas <toomas dot aas at raad dot tartu dot ee>
* | Hmmm, must get reading glasses or else change the font on my terminal. Thatmtm2007-11-241-1/+1
| | | | | | | | | | | | comma looks like a period. Noticed by: brueffer
* | Describe convenience functions `pmc_name_of_{capability,class,cputype,jkoshy2007-11-242-7/+147
| | | | | | | | disposition,event,mode,state}' in their own manual page.
* | Minor language cleanup.brueffer2007-11-241-3/+3
| | | | | | | | MFC after: 3 days
* | Fix the spinlock static table adding missing spinlocks.attilio2007-11-241-0/+2
| | | | | | | | | | | | - rm_spinlock has turnstile chain as child - srclock has callout and clk as child, found by witness "emulation". Just move it very high in our ranking
* | transferlockers() is a very dangerous and hack-ish function as waitersattilio2007-11-242-29/+0
| | | | | | | | | | | | | | | | | | | | | | should never be moved by one lock to another. As, luckily, nothing in our tree is using it, axe the function. This breaks lockmgr KPI, so interested, third-party modules should update their source code with appropriate replacement. Ok'ed by: ups, rwatson MFC after: 3 days
* | - Improve clarity: use 'scope' to distinguish between process and systemjkoshy2007-11-241-19/+39
| | | | | | | | | | | | | | PMCs and 'mode' to distinguish between counting and sampling. - Document PMC row dispositions. - Document the requirement for PRIV_PMC_MANAGE privilege when issuing PMC_OP_PMCADMIN requests.
* | Fix strict alias warnings.jb2007-11-232-5/+12
| |
* | Also check setuid executables on ZFS.ru2007-11-231-1/+1
| |
* | Describe pmc_event_names_of_class() in its own manual page.jkoshy2007-11-232-2/+77
| |
OpenPOWER on IntegriCloud