| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
them, please let me know if not). Most of these are of the form:
static const struct bzzt_type {
[...list of members...]
} const bzzt_devs[] = {
[...list of initializers...]
};
The second const is unnecessary, as arrays cannot be modified anyway,
and if the elements are const, the whole thing is const automatically
(e.g. it is placed in .rodata).
I have verified this does not change the binary output of a full kernel
build (except for build timestamps embedded in the object files).
Reviewed by: yongari, marius
MFC after: 1 week
|
|
|
|
|
|
| |
clang the default compiler on i386 and amd64 systems.
Special thanks to: dim, ed, rdivacky
|
|
|
|
|
|
|
|
| |
versions of clang 3.2, about comparing enum uni_cause values against
integer constants which fall outside the enum range. No functional
change.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
pmc_event values against integer constants which fall outside the enum
range.
Reviewed by: fabient, sbruno
MFC after: 3 days
|
| |
|
|
|
|
|
| |
If this is a smaller type than int anyway, we can make it the smallest
possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
temporarily stores characters if the TTY buffer is full when
used a as a console. This can happen when a console is suspended.
Also properly do the flow stop signalling when this happens and
flow start when the condition changes back to normal again.
Bump __FreeBSD_version to force external kernel modules
to be recompiled. No kernel API changes.
MFC after: 1 week
Suggested by: ed @
|
|
|
|
| |
Submitted by: dim
|
|
|
|
|
|
|
| |
regarding the vnode page cleaning.
In collaboration with: pho
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Update assert appropriately.
Reported and Tested by: flo
MFC after: 2 months
X-MFC: 241519,242536
|
|
|
|
| |
Reviewed by: glebius
|
|
|
|
| |
This unblocks TX EDMA under high load.
|
|
|
|
|
|
| |
complete and ready for production use.
PR: kern/173309
|
|
|
|
|
| |
* Do the calculation for each ath_buf, rather than just the first
* Correct the calculation in the first place.
|
| |
|
| |
|
|
|
|
|
| |
abort and assert. It would be cleaner to use NULL or "" here, but gcc
complains in both cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rtld did not set FD_CLOEXEC on its internal file descriptors; therefore,
such a file descriptor may be passed to a process created by another thread
running in parallel to dlopen() or fdlopen().
No other threads are expected to be running during parsing of the hints
and libmap files but the file descriptors need not be passed to child
processes so add O_CLOEXEC there as well.
This change will break fdlopen() (as used by OpenPAM) on kernels without
F_DUPFD_CLOEXEC (added in July). Note that running new userland on old
kernels is not supported.
Reviewed by: kib
|
| |
|
|
|
|
|
|
|
|
|
|
| |
PNP0510 and FUJ02E5 for a "Wacom Tablet at FuS Lifebook T"
PNP0502 and PNP0511 for some other generic devices.
PR: kern/173357
Submitted by: Andrey Zakharchenko <avz@jscc.ru>
Approved by: cperciva (implicit)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
of a compile time option.
While here, don't differ based on the existence of LOCK_EX
which doesn't seem to have ever made a difference on FreeBSD.
Approved by: cperciva (from discussion)
MFC after: 3 days
|
|
|
|
|
| |
Approved by: cperciva (from discussion)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
Otherwise we could fail with an incorrect error if e.g. parent
object id is removed too or we can even return a wrong vnode if
parent object has been already re-used.
Discussed with: pjd
Also see: http://article.gmane.org/gmane.os.freebsd.devel.file-systems/13863
MFC after: 26 days
|
|
|
|
|
|
|
| |
... which is triggered if somebody did regular umount on a snapshot mount.
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
MFC after: 20 days
|
|
|
|
|
| |
Discussed with: kib
MFC after: 20 days
|
|
|
|
|
|
|
| |
To do: investigate if it would be possible to use normal vfs_domount here.
Reviewed by: kib
MFC after: 19 days
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 19 days
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 19 days
|
|
|
|
|
|
|
| |
... to ensure that we have a valid mountpoint during the call.
Reviewed by: kib
MFC after: 19 days
|
|
|
|
|
|
|
|
| |
vn_lock should do the right thing with respect to given vnode lock
flags. If a caller doesn't mind a doomed vnode, then zfs should deliver.
Reviewed by: kib
MFC after: 19 days
|
|
|
|
|
|
|
|
|
| |
It turned out to be not that useful, because its default value may lead
to a problem when a root pool is present in zpool.cache, but its
on-disk status is 'exported'. This may happen if the pool was imported
in a different environment with -f flag and then exported.
MFC after: 12 days
|
|
|
|
|
|
|
| |
Otherwise we may be leaking z_sync_cnt, which may lead to unnecessary
ZIL sync-ing.
MFC after: 12 days
|
|
|
|
|
|
|
|
|
| |
... instead of whatever random value may happen to be in the register.
ecx is important to some cpuid leaves.
To do: extend cpuctl interface to provide for ecx value parameter.
MFC after: 5 days
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
their definitions.
MFC after: 3 days
|
|
|
|
| |
Submitted by: brueffer
|
| |
|
|
|
|
|
|
| |
- Add myself to calendar.freebsd
Approved by: tabthorpe (mentor)
|
|
|
|
|
|
| |
PR: kern/145999
Reviewed by: mjg
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: flo
Approved by: eadler
|
| |
|
|
|
|
|
|
|
|
| |
leading to handling of an invalid fdip object.
Reported and tested by: flo
MFC after: 2 months
X-MFC: 241519
|
|
|
|
|
|
|
|
| |
to this pmap.
Eliminate two redundant #include's.
Tested by: marcel
|
|
|
|
|
|
|
| |
cache line in order to avoid manual frobbing but using
struct rwlock_padalign.
Reviewed by: alc, jimharris
|
|
|
|
|
|
|
|
|
|
| |
* don't poke ath_hal_txstart() if nothing was pushed into the FIFO during
the refill process;
* shuffle around the TX debugging output a little so it's logged at
TX hardware enqueue;
* Add logging of the TX status processing.
|
|
|
|
|
|
|
|
|
| |
The copies of initarm used on platforms with FDT support were almost
identical. The differences were pulled out into separate functions that
were called by initarm.
This change merges the, now identical, copies of initarm and a few of it's
support functions. This is a step towards a common kernel on ARMv6.
|
|
|
|
|
|
|
|
| |
Although sufficient memory is available for a longer string in cmdname,
this is undefined behaviour anyway.
Side effect: for alignment reasons, an additional byte of memory is
allocated per hashed command.
|
|
|
|
|
| |
This removes some of the signalling magic from the Syscons driver and
puts it in the TTY layer, where it belongs.
|
|
|
|
|
|
|
|
|
|
| |
of small (< 256 byte) aggregate frames.
This needs to be done or 11n aggregation TX just simply doesn't work
on these NICs.
Whilst here, extend some debug printing; I was using this whilst
debugging the TX power setup in the TX descriptor(s) on the AR9380.
|