| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
Upstreamed:
http://code.google.com/p/kyua/issues/detail?id=43
Submitted by: Garrett Cooper <yanegomi@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
using the non-monetary separator returned by localeconv(3), typically
a comma or period.
MFC after: 14 days
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This was broken by me when merging the 802.11n aggregate descriptor chain
setup with the default descriptor chain setup, in preparation for supporting
AR9380 NICs.
The corner case here is quite specific - if you queue an aggregate frame
with >1 frames in it, and the last subframe has only one descriptor making
it up, then that descriptor won't have the rate control information
copied into it. Look at what happens inside ar5416FillTxDesc() if
both firstSeg and lastSeg are set to 1.
Then when ar5416ProcTxDesc() goes to fill out ts_rate based on the
transmit index, it looks at the rate control fields in that descriptor
and dutifully sets it to be 0.
It doesn't happen for non-aggregate frames - if they have one descriptor,
the first descriptor already has rate control info.
I removed the call to ath_hal_setuplasttxdesc() when I migrated the
code to use the "new" style aggregate chain routines from the HAL.
But I missed this particular corner case.
This is a bit inefficient with MIPS boards as it involves a few redundant
writes into non-cachable memory. I'll chase that up when it matters.
Tested:
* AR9280 STA mode, TCP iperf traffic
* Rui Paulo <rpaulo@> first reported this and has verified it on
his AR9160 based AP.
PR: kern/173636
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Implement a function to ensure that all preempted threads have switched
back out at least once. Use this to make sure there are no stale
references to the old ktr_buf or the lock profiling buffers before
updating them.
Reviewed by: marius (sparc64 parts), attilio (earlier patch)
Sponsored by: EMC / Isilon Storage Division
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sleep, and perform the page allocations with VM_ALLOC_SYSTEM
class. Previously, the allocation was also allowed to completely drain
the reserve of the free pages, being translated to VM_ALLOC_INTERRUPT
request class for vm_page_alloc() and similar functions.
Allow the caller of malloc* to request the 'deep drain' semantic by
providing M_USE_RESERVE flag, now translated to VM_ALLOC_INTERRUPT
class. Previously, it resulted in less aggressive VM_ALLOC_SYSTEM
allocation class.
Centralize the translation of the M_* malloc(9) flags in the single
inline function malloc2vm_flags().
Discussion started by: "Sears, Steven" <Steven.Sears@netapp.com>
Reviewed by: alc, mdf (previous version)
Tested by: pho (previous version)
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| | |
uses of M_USE_RESERVE in the kernel. This allocation is not special.
Reviewed by: alc
Tested by: pho
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| | |
offered by RedZone so there's no need to keep it.
Sponsored by: iXsystems inc.
|
| |
| |
| |
| |
| |
| |
| | |
compared an enum scope_type against a yacc-generated define, so the
condition would always be false.
MFC after: 3 days
|
| |
| |
| |
| |
| |
| | |
*not* a boolean).
MFC after: 3 days
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| |
| |
| | |
%option nounput is already specified.
MFC after: 3 days
|
| |
| |
| |
| |
| |
| | |
i.e. inlining the vn_vget_ino() algorithm.
Sponsored by: iXsystems inc.
|
| |
| |
| |
| | |
Approved by: theraven
|
| |
| |
| |
| |
| |
| |
| | |
replace IF_AFDATA_LOCK() macro depending to the access type.
Sponsored by: Yandex LLC
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
page. Therefore, it is really inappropriate for use by the function
uma_small_alloc(). The effect of using it was that every page was zeroed
at least once and possibly twice if M_ZERO was passed as a "wait" flag.
|
| |
| |
| |
| |
| |
| |
| | |
any access to V_sid_default.
Sponsored by: Yandex LLC
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| | |
the omap4.
Spotted out by: Giovanni Trematerra <gianni at freebsd DOT org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The sole purpose of this change is to make sure that sizeof produces
"canonical" sizes for these structures. This is to avoid triggering
bugs in the BIOSes that properly handle only the canonical values of
input length provided to INT 13h AH=48h.
The canonical sizes are: 30 for v2, 66 for v3, etc.
Buggy BIOS code probably looks like:
if (input_length > 30) { /* > v2 */
assume that input length is 66 /* assume v3 or later */
}
This should fix boot problems at least on Supermicro X8DT6 and possibly
on P410i Smart Array Controller (as found in e.g. HP DL360 G7).
Reported by: gnn, np, rstone
Debugged by: rstone
Discussed with: ae, np, rstone
MFC after: 4 days
|
| |
| |
| |
| | |
Submitted by: Giovanni Trematerra <gianni at freebsd DOT org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: kern/161091 [1],
misc/133926 [2]
Submitted by: Stephane Lapie <darksoul@darkbsd.org> [1],
Chris Dillon <cdillon@wolves.k12.mo.us> [2]
Reviewed by: cognet, kib
|
| |
| |
| |
| | |
MFC after: 1 day
|
| |
| |
| |
| |
| |
| |
| | |
the manpage
Reviewed by: cognet, kib
MFC after: 1 month
|
| |
| |
| |
| | |
of supplied arguments is not what a modern sysadmin expect.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
crash. When truncating a file that never made it to disk we use the
canceled allocation dependencies to hold the journal records until
the truncation completes. Previously allocdirect dependencies on
the id_bufwait list were not considered and their journal space
could expire before the bitmaps were written. Cancel them and attach
them to the freeblks as we do for other allocdirects.
- Add KTR traces that were used to debug this problem.
- When adding jsegdeps, always use jwork_insert() so we don't have more
than one segdep on a given jwork list.
Sponsored by: EMC / Isilon Storage Division
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
than we're claiming it should still be considered an exact match. This
would previously leak frags that had been extended.
- If there is a sequence number problem in the journal print the sequence
numbers we've seen so far for debugging.
- Clean up the block mask related debuging printfs. Some are redundant.
MFC after: 1 week
|
| |
| |
| |
| | |
Reviewed by: thompsa
|
| |
| |
| |
| | |
Reviewed by: glebius
|
| |
| |
| |
| |
| |
| |
| | |
and fix references
Reported by: pluknet
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in compiled code even for kernels without INVARIANTS
Approved by: trasz (mentor)
MFC after: 1 week
|
| |
| |
| |
| | |
- Libya went to Standard Time on 10 November 2012
|
| | |
|
| |
| |
| |
| |
| | |
Approved by: cperciva (implicit)
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since SMPng it wasn't really supported anymore and if it worked
then only by chance. Only very few drivers ever supported it.
Discussed with: yongari
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Discussed with: glebius
Submitted by: Mamontov Roman <mr.xanto@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: kern/44267
Submitted by: Michail Vidiassov <master@iaas.msu.ru>
Arrival-Date: Sat Oct 19 07:30:00 PDT 2002
Approved by: cperciva (implicit)
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
- Sort SEE ALSO cross references.
MFC after: 3 days
|
| | |
|
| |
| |
| |
| | |
MFC after: 3 days
|
| | |
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| |
| | |
Approved by: bcr (mentor)
MFC after: 3 days
|
| |
| |
| |
| |
| |
| | |
PR: standards/170346
Submitted by: "Jukka A. Ukkonen" <jau@iki.fi>
MFC after: 1 month
|
| |
| |
| |
| |
| |
| | |
PR: standards/170346
Submitted by: "Jukka A. Ukkonen" <jau@iki.fi>
MFC after: 1 month
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
designator to select a process which is waited for. The system call
optionally returns siginfo_t which would be otherwise provided to
SIGCHLD handler, as well as extended structure accounting for child
and cumulative grandchild resource usage.
Allow to get the current rusage information for non-exited processes
as well, similar to Solaris.
The explicit WEXITED flag is required to wait for exited processes,
allowing for more fine-grained control of the events the waiter is
interested in.
Fix the handling of siginfo for WNOWAIT option for all wait*(2)
family, by not removing the queued signal state.
PR: standards/170346
Submitted by: "Jukka A. Ukkonen" <jau@iki.fi>
MFC after: 1 month
|
| |
| |
| |
| | |
Tested by: swills
|
| |
| |
| |
| |
| | |
support may follow soon (it uses a proprietary memory layout, but operation
looks pretty trivial.)
|