summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not skip two elements of the tid_buffer when reusing the bufferkib2012-09-221-1/+1
| | | | | | | | | | | | | | | | | | | slot. This eventually results in exhaustion of the tid space, causing new threads get tid -1 as identifier. The bad effect of having the thread id equal to -1 is that UMTX_OP_UMUTEX_WAIT returns EFAULT for a lock owned by such thread, because casuword cannot distinguish between literal value -1 read from the address and -1 returned as an indication of faulted access. _thr_umutex_lock() helper from libthr does not check for errors from _umtx_op_err(2), causing an infinite loop in mutex_lock_sleep(). We observed the JVM processes hanging and consuming enormous amount of system time on machines with approximately 100 days uptime. Reported by: Mykola Dzham <freebsd levsha org ua> MFC after: 1 week
* When connection rate hits and we overload a source to a table,glebius2012-09-222-81/+109
| | | | | | | | | | | | | | | | | | we are actually editing table, which means editing rules, thus we need writer access to 'em. Fix this by offloading the update of table to the same taskqueue, we already use for flushing. Since taskqueues major task is now overloading, and flushing is optional, do mechanical rename s/flush/overload/ in the code related to the taskqueue. Since overloading tasks do unsafe referencing of rules, provide a bandaid in pf_purge_unlinked_rules(). If the latter sees any queued tasks, then it skips purging for this run. In table code: - Assert any lock in pfr_lookup_addr(). - Assert writer lock in pfr_route_kentry().
* In pfr_insert_kentry() return ENOMEM if memory allocation failed.glebius2012-09-221-1/+1
|
* Fix fallout from r236397 in pfr_update_stats(), that was missedglebius2012-09-221-1/+3
| | | | | later in r237155. We need to zero sockaddr before lookup. While here, make pfr_update_stats() panic on unknown af.
* Apply some more casting.hselasky2012-09-221-5/+5
|
* Improve the check for p4 opened files.rpaulo2012-09-221-2/+2
| | | | | Now we only search for opened files in ${SYSDIR}, which makes it possible to use multiple source trees.
* Apply correct casting.hselasky2012-09-221-2/+2
|
* Since UMA_ZONE_NOFREE is specified when l2zone and l2table_zone are created,alc2012-09-222-86/+36
| | | | | | | | | | | | | | | | | there is no need to release and reacquire the pmap and pvh global locks around calls to uma_zfree(). Recursion into the pmap simply won't occur. Eliminate the use of M_USE_RESERVE. It is deprecated and, in fact, counter- productive, meaning that it actually makes the memory allocation request more likely to fail. Eliminate the macros pmap_{alloc,free}_l2_dtable(). They are of limited utility, and pmap_free_l2_dtable() was inconsistently used. Tidy up pmap_init(). In particular, change the initialization of the PV zone so that it doesn't span the initialization of the l2 and l2table zones. Tested by: jmg
* Create a common set_stackptrs in sys/arm/machdep.c.andrew2012-09-2216-197/+39
| | | | | | | On single core devices set_stackptrs is only ever called with cpu = 0 in initarm and will be identical to the existing function. On SMP this needs to be implemented for sys/arm/mp_machdep.c, but the implementations are identical for each SoC.
* Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax.dteske2012-09-225-11/+7
| | | | | Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor)
* Spelling and whitespace corrections.dteske2012-09-224-8/+8
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Remove leftover from r215163.andreast2012-09-211-1/+0
|
* Remove #ident macro.rpaulo2012-09-211-3/+2
| | | | | | | | | | | | | | | -This line, and those below, will be ignored-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M altq/altq/altq_rmclass.c
* Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesigndteske2012-09-2122-62/+62
| | | | | | | our embedded rescue environment to support /dev/null making r240770 obsolete. Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor)
* Implement elfN(reloc) for powerpc. With this change the kernel is now able toandreast2012-09-211-0/+25
| | | | | | | resolve dependencies of modules at boot time and load additional modules when needed. MFC after: 1 week
* Make nfs_readdir() more careful about using response data, cached in globalmav2012-09-211-20/+24
| | | | | | buffer. For now it fixes bug when following `ls` command will return data from previous one aborted by pager. Also it should allow to read several directories same time, for example, for recursive tracerse.
* Don't use global nfs_root_node variable as per-file storage. There aremav2012-09-211-51/+35
| | | | fields that should be file-specific.
* After r205013, amd64 and i386 CPU family and model IDs were printed outdim2012-09-212-4/+4
| | | | | | in hexadecimal, but without any 0x prefix, which can be very misleading. MFC after: 3 days
* Replace redirections to /dev/null with "close file-descriptor" syntax (>&-).dteske2012-09-2122-62/+62
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Change all invocations of dialog(1) to no-longer require temporary files.dteske2012-09-2039-188/+441
| | | | | | | This allows bsdconfig to -- like bsdinstall -- operate from read-only media. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Restore handling of the third argument (id) of hid_start_parse(), same asmav2012-09-203-9/+23
| | | | | | | | | | | | it is done in NetBSD/OpenBSD, and as it was here before r205728. I personally think this API or its implementation is incorrect, as it is not correct to filter collections based on report ID, as they are orthogonal in general case, but I see no harm from supporting this feature. PR: usb/171810 Submitted by: Vitaly Magerya <vmagerya@gmail.com> MFC after: 1 month
* Fix typo.hselasky2012-09-201-1/+1
|
* Fix typo: s/protocl/protocolkevlo2012-09-203-4/+4
|
* Convert lagg(4) to use if_transmit instead of if_start.glebius2012-09-201-24/+32
| | | | In collaboration with: thompsa, sbruno, fabient
* Plug the accounting leak for the wired pages when msync(MS_INVALIDATE)kib2012-09-201-2/+7
| | | | | | | | | | | | is performed on the vnode mapping which is wired in other address space. While there, explicitely assert that the page is unwired and zero the wire_count instead of substract. The condition is rechecked later in vm_page_free(_toq) already. Reported and tested by: zont Reviewed by: alc (previous version) MFC after: 1 week
* unbreak build: rescue now needs -ljail if MK_ZFS is onbapt2012-09-201-1/+1
|
* The correct generic term for PCIS_STORAGE_NVM is "NVM" not "NVM Express".gavin2012-09-202-2/+2
| | | | | Submitted by: jimharris MFC after: 6 days
* Remove references to brelse and bremfree, which don't actually exist.kevlo2012-09-201-2/+0
|
* Reduce copy/paste when freeing an source node.glebius2012-09-201-10/+9
|
* Utilize Jenkins hash with random seed for source nodes storage.glebius2012-09-202-22/+21
|
* Redo r240386 providing more correct information.glebius2012-09-201-12/+10
|
* Re-do r240271:glebius2012-09-202-8/+17
| | | | | | | | | | | - Set IP_RECVDSTADDR sockopt on the socket only in case if it is INADDR_ANY bound. - Supply IP_SENDSRCADDR control message only if we did receive IP_RECVDSTADDR control message. This fixes operation of snmpd bound to a specific local IP address. PR: bin/171279
* mdoc: remove superfluous paragraph macro.joel2012-09-201-1/+0
|
* Upgrade to 9.8.3-P3:dougb2012-09-206-8/+41
| | | | | | | | | | | | | | | | | | | Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused by using "Bad cache" data before it has been initialized. ISC_QUEUE handling for recursive clients was updated to address a race condition that could cause a memory leak. This rarely occurred with UDP clients, but could be a significant problem for a server handling a steady rate of TCP queries. A condition has been corrected where improper handling of zero-length RDATA could cause undesirable behavior, including termination of the named process. For more information: https://kb.isc.org/article/AA-00788
* Rewrite portions of development.7 to make senseeadler2012-09-201-250/+41
| | | | | | | in the world of subversion. Approved by: gjb MFC after: 2 weeks
* Fix typo: s/pakcet/packetkevlo2012-09-203-3/+3
|
* Introduce the CLRDMASK gating based on tid->clrdmask, enabling filteredadrian2012-09-201-9/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frames to occur. * Create a new function which will set the bf_flags CLRDMASK bit if required. * For raw frames, always set CLRDMASK. * For BAR, ADDBA frames, always set CLRDMASK. * For everything else, check if CLRDMASK needs to be set before calling tx_setds() or tx_setds11n(). * When unpausing a queue or drain/resetting it, set tid->clrdmask=1 just to ensure traffic starts flowing. What I need to do: * Modify that function to _clear_ the CLRDMASK if it's not required, or retried frames may have CLRDMASK set when they don't need to. (Which isn't a huge deal, but..) Whilst I'm here: * ath_tx_normal_xmit() should really act like the AMPDU session TX functions - any incomplete frames will end up being assigned ath_tx_normal_comp() which will decrement tid->hwq_depth - but that won't have been incremented. So whilst I'm here, add a comment to do that. * Fix the debug print function to be slightly clearer about things; it's not a good sign when I can't interpret my own debugging output. I've done some testing on AR9280/AR5416/AR9160 STA and AP modes.
* Add missing break.glebius2012-09-201-0/+1
| | | | Pointy hat to: glebius
* Place the comment where it should be.adrian2012-09-201-16/+12
|
* Add a work-around for some strange net80211 BAR races in the wirelessadrian2012-09-201-1/+10
| | | | | | | | | stack. There are unfortunately quite a few odd cases in BAR TX and BAR TX retransmission that I haven't yet fully diagnosed. So for now, add this work-around so the resume() function isn't called too often, decrementing pause to -1 (and causing things to stay paused.)
* Modify the NFSv4 client so that it can handle ownerrmacklem2012-09-206-25/+60
| | | | | | | | | | | | | | | and owner_group strings that consist entirely of digits, interpreting them as the uid/gid number. This change was needed since new (>= 3.3) Linux servers reply with these strings by default. This change is mandated by the rfc3530bis draft. Reported on freebsd-stable@ under the Subject heading "Problem with Linux >= 3.3 as NFSv4 server" by Norbert Aschendorff on Aug. 20, 2012. Tested by: norbert.aschendorff at yahoo.de Reviewed by: jhb MFC after: 2 weeks
* Remove the restrict qualifier to match function prototype.kevlo2012-09-201-1/+1
|
* Merge ACPICA 20120913.jkim2012-09-1930-278/+721
|
* Add Intel RdRand.obrien2012-09-191-3/+8
|
* strsignal(): Reindent.jilles2012-09-191-21/+21
|
* strsignal(): Do not append signal numbers to messages for known signals.jilles2012-09-191-1/+1
| | | | | Messages for known signals looked like "Terminated: 15" instead of "Terminated".
* Fix a panic when trying to play invalid audio tracks.tijl2012-09-191-0/+1
|
* In nvme(4), set device description for BUS_PROBE_GENERIC case.jimharris2012-09-191-10/+11
| | | | Reported by: jhb
* Recognise NVM Express devices and pretty-print their name.gavin2012-09-192-0/+2
| | | | MFC after: 1 week
* Update usage to show the possiblity to use jail namebapt2012-09-191-2/+2
| | | | | Reported by: bdrewery MFC after: 1 month
OpenPOWER on IntegriCloud