| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I guess the original author of the popen() code didn't want to use our
<sys/queue.h> macro's, because the single linked list macro's didn't
offer O(1) deletion. Because I introduced SLIST_REMOVE_NEXT() some time
ago, we can now use the macro's here.
By converting the code to an SLIST, it is more consistent with other
parts of the C library and the operating system.
Reviewed by: csjp
Approved by: philip (mentor, implicit)
|
|
|
|
| |
Thanks to: Erwin Lansing
|
|
|
|
|
|
|
| |
LOCALES list. Since no_NO was still in LOCALES, make tried to build the
corresponding .out files, but couldn't since the .src files were gone. I
did not notice this because I still had the old .out files in my .OBJDIR.
Thanks to kib@ for the heads-up.
|
|
|
|
|
|
|
|
| |
using the passed arguments explicitly and unconditionally rather than
testing them and calling panic(). The result is the same but easier
to read.
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
- Fix a initialization of last_tsn_used
- Fix handling of mapped IPv4 addresses
Obtained from: Michael Tuexen and I :-)
MFC after: 1 week
|
| |
|
|
|
|
|
| |
space access in device probe.
Also nuke referencing softc in device probe.
|
|
|
|
|
| |
Don't hard code function name in device_printf() and use __func__.
While I'm here nuke bfe_unit in softc as it's not needed anymore.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
headers.
Reviewed by: rwatson
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: jhb@
Reviewed by: brooks@
|
|
|
|
|
|
| |
ensure that LINT builds include these devices.
Reported by: Peter Jeremy
|
|
|
|
| |
MFC after: 3 months
|
|
|
|
|
| |
Store IDs is host order. It is not so important to bloat code for it.
Combine m_adj() and M_PREPEND() into single M_PREPEND().
|
|
|
|
| |
PR: conf/112081
|
|
|
|
|
|
|
|
|
| |
makes sense to have them both link to no_NO.
In other cases (such as LC_TIME), they differ, and the correct solution
is to have no_NO link to nb_NO, rather than the other way around.o
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and nn_NO, which are symlinked to no_NO.
The patch in the PR contained a number of errors apparently based on
(sometimes incorrect) pronunciation; for instance, v and w are
distinct letters and should be collated in that order, even if they
are pronounced the same, while <u:> should be collated with u, even
though it is often mispronounced as y. For lack of a solid reference,
I have taken sv_SE and simply changed the last three letters of the
alphabet.
PR: conf/51920
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mkstemps(), and mkdtemp().
- Add proper range checking for the 'slen' parameter passed to mkstemps().
- Try all possible permutations of a template if a collision is encountered.
Previously, once a single template character reached 'z', it would not wrap
around to '0' and keep going until it encountered the original starting
letter. In the edge case that the randomly generated starting name used
all 'z' characters, only that single name would be tried before giving up.
PR: standards/66531
Submitted by: Jim Luther
Obtained from: Apple
MFC after: 1 week
|
|
|
|
|
| |
thread ran on if there are no other CPUs in the set with a shorter per-CPU
runqueue.
|
|
|
|
| |
It fixes nothing at this time, but decided to be more correct.
|
|
|
|
|
|
|
|
|
| |
This works around a bug in HP-UX's telnet client and also gives a much
saner user experience when using FreeBSD's telnet client.
PR: bin/19405
Submitted by: Joel Ray Holveck joelh of gnu.org
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
instead of empty thread name.
Reviewed by: jhb
|
| |
|
| |
|
|
|
|
| |
mtree/BSD.usr.dist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When a cpuset is applied to a thread, walk the cpuset to see if it is a
"full" cpuset (includes all available CPUs). If not, set a new
TDS_AFFINITY flag to indicate that this thread can't run on all CPUs.
When inheriting a cpuset from another thread during thread creation, the
new thread also inherits this flag. It is in a new ts_flags field in
td_sched rather than using one of the TDF_SCHEDx flags because fork()
clears td_flags after invoking sched_fork().
- When placing a thread on a runqueue via sched_add(), if the thread is not
pinned or bound but has the TDS_AFFINITY flag set, then invoke a new
routine (sched_pickcpu()) to pick a CPU for the thread to run on next.
sched_pickcpu() walks the cpuset and picks the CPU with the shortest
per-CPU runqueue length. Note that the reason for the TDS_AFFINITY flag
is to avoid having to walk the cpuset and examine runq lengths in the
common case.
- To avoid walking the per-CPU runqueues in sched_pickcpu(), add an array
of counters to hold the length of the per-CPU runqueues and update them
when adding and removing threads to per-CPU runqueues.
MFC after: 2 weeks
|
|
|
|
| |
using unquoted paths.
|
|
|
|
|
|
| |
revision and (on Prism cards) the primary firmware revision via
sysctl. Move the printing of this information under bootverbose,
since it is relatively easy to get to it now.
|
| |
|
|
|
|
|
| |
Approved by: bde@
MFC after: 2 days2 days
|
|
|
|
|
|
|
|
| |
It seems I made a small bug when writing some of the posix_spawn(3)
manpages. Remove the redundant "Ed Schouten", which broke the AUTHORS
section.
Approved by: philip (mentor, implicit)
|
|
|
|
|
| |
Approved by: philip (mentor)
MFC after: 3 days
|
|
|
|
| |
There is no functional changes.
|
|
|
|
| |
Change the nearby comment to mention the recursive map.
|
| |
|
| |
|
|
|
|
|
| |
gracefully. (On K10 family processors the direct map is implemented using
1GB page mappings.)
|
|
|
|
|
|
|
|
|
| |
While I'm here dicard all buffers if errored frame is part of
multi-segmented frames.
Pointed out by: sephe
Reviewd by: sephe
MFC after: 3 days
|
|
|
|
| |
PR: standards/122051
|
|
|
|
|
|
| |
- resize columns based on actual observed numerical values
MFC after: 3 days
|
|
|
|
| |
It allows access it while list travercing holding only global pcbinfo lock.
|
|
|
|
| |
It allows access it while list travercing holding only global pcbinfo lock.
|
| |
|
|
|
|
|
|
|
|
| |
mapping to 4KB page mappings when the specified attribute change only
applies to a portion of the 2MB page. Previously, in such cases,
pmap_change_attr() gave up and returned an error.
Submitted by: Magesh Dhasayyan
|
|
|
|
|
|
| |
functions.
Reviewed by: kib
|
|
|
|
|
|
|
|
|
| |
- Check if panicstr isn't set, if it is ignore the lock. This helps to avoid
confusion, because lockmgr is a no-op when panicstr isn't NULL, so
asserting anything at this point doesn't make sense and can just race with
other panic.
Discussed with: kib
|