| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
Trying to figure out why this only works with SOME EHCI controllers.
Obtained from: NetBSD
MFC after: 1 week
|
| |
| |
| |
| |
| | |
on the boot processor (cpuid == 0). Some chipsets do not power off the
system if the shutdown handler runs on an AP.
|
| |
| |
| |
| |
| |
| |
| |
| | |
that unbreaks them.
Submitted by: dillon
Obtained from: NetBSD
MFC after: 2 days
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
device, the device is probed multiple times (so each device is
detected N times after unloading/loading the module N-1 times).
The real fix is (quote Doug and Warner):
> : In an ideal world, there should be some kind of BUS_UNIDENTIFY method
> : which a driver could use to delete the devices it created in
> : BUS_IDENTIFY.
>
> Or the bus would have a driver deleted routine that got called and it
> would remove all instances of the devclass attached to it.
Reviewed by: Doug Rabson & Warner Losh
|
| |
| |
| |
| |
| |
| |
| |
| | |
VTY prevented waking up processes waiting for the output queue to
get free on other VTYs.
In collaboration with: Vsevolod Lobko
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
to mmap it PROT_EXEC. This also depends on the architecture, as some
architextures (e.g. i386) do not distinguish between read and exec pages
Inspired by: http://linux.bkbits.net:8080/linux-2.4/cset@1.1267.1.85
Reviewed by: alc
|
| |
| |
| |
| |
| | |
new _OSI method. These can be used if these new features end up causing
regression for users.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mappings required by mdstart_swap(). On i386, if the ephemeral mapping
is already in the sf_buf mapping cache, a swap-backed md performs
similarly to a malloc-backed md. Even if the ephemeral mapping is not
cached, this implementation is still faster. On 64-bit platforms, this
change has the effect of using the direct virtual-to-physical mapping,
avoiding ephemeral mapping overheads, such as TLB shootdowns on SMPs.
On a 2.4GHz, 400MHz FSB P4 Xeon configured with 64K sf_bufs and
"mdmfs -S -o async -s 128m md /mnt"
before:
dd if=/dev/md0 of=/dev/null bs=64k
134217728 bytes transferred in 0.430923 secs (311465697 bytes/sec)
after with cold sf_buf cache:
dd if=/dev/md0 of=/dev/null bs=64k
134217728 bytes transferred in 0.367948 secs (364773576 bytes/sec)
after with warm sf_buf cache:
dd if=/dev/md0 of=/dev/null bs=64k
134217728 bytes transferred in 0.252826 secs (530870010 bytes/sec)
malloc-backed md:
dd if=/dev/md0 of=/dev/null bs=64k
134217728 bytes transferred in 0.253126 secs (530240978 bytes/sec)
|
| |
| |
| |
| | |
releasing the ktrace vnode.
|
| |
| |
| |
| |
| |
| |
| | |
I've added -fno-strict-aliasing for now so we can ease into this.
I wanted to shoot for -O3, but the inlining caused problems due to GCC's
size heuristics; so also add -frename-registers, which is one of the things
-O3 would have given us.
|
| | |
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
were never used).
CVS surgery credit: joe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
entry size and the ELF version. Also, avoid a potential integer
overflow when determining whether the ELF header fits entirely
within the first page.
Reviewed by: jdp
A panic when attempting to execute an ELF binary with a bogus program
header table entry size was
Reported by: Christer Öberg <christer.oberg@texonet.com>
|
| | |
| | |
| | |
| | |
| | | |
event handler for if_tap fails, make sure to clean up clone state to
prevent a clone memory leak.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
users that are working with relayed PPPoE.
Submitted by: Bodo Rüskamp <jordbaer@mac.com>
PR: 44936
Approved by: julian
MFC after: 1 week
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the tap driver, even with Giant over the cdev operation vector, due to
a non-atomic test-and-set of the si_drv1 field in the dev_t. This bug
exists with Giant under high memory pressure, as malloc() may sleep
in tapcreate(), but is less likely to occur. The resolution will
probably be to cover si_drv1 using the global tapmtx since no softc is
available, but I need to think about this problem more generally
across a range of drivers using si_drv1 in combination with SI_CHEAPCLONE
to defer expensive allocation to open().
Correct what appears to be a bug in the original if_tap implementation,
in which tapopen() will panic if a tap device instance is opened more
than once due to an incorrect assertion -- only triggered if INVARIANTS
is compiled in (i.e., when built into a kernel). Return EBUSY instead.
Expand mtx_lock() coverage using tp->tap_mtx to include tp->ether_addr.
|
| | |
| | |
| | |
| | | |
Add opt_inet.h to SRCS.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
because if consumer is not attached, its provider never will be valid,
so we never reach this check.
Approved by: phk
|
| | | |
|
| | |
| | |
| | |
| | | |
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bus_alloc_resource_any commit.
Submitted by: bde
Pointy-hat: njl
|
| | |
| | |
| | |
| | |
| | |
| | | |
This should fix this error people get attaching cardbus controllers:
pcib0: _PRS resource entry has unsupported type 2
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
are based on the same USB->COM bridge, but have different product IDs.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: http://www.tnpi.biz/computing/freebsd/crystalfontz.shtml
MFC after: 3 days
|
| | |
| | |
| | |
| | |
| | |
| | | |
ISA slots.
Submitted by: Peter
|
| | |
| | |
| | |
| | |
| | |
| | | |
use sf_buf_free() instead of sf_buf_mext() to consolidate all actions
that require the page queues lock in one critical section. While I'm
here remove unnecessary splvm() and splx() calls.
|
| | |
| | |
| | |
| | |
| | |
| | | |
clip/destroy the dB value contained in the wi(4)'s receive frames,
it doesn't match with the flag set in the radiotap header
(unperturbed dB versus dBm).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
C2 and 1000 to use C3.
Submitted by: Bruno Ducrot <ducrot@poupinou.org>
Tested by: Scott Lambert <lambert@lambertfam.org>
|
| | |
| | |
| | |
| | | |
old...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also set HOOK_HACK to true (remove the related #ifdef's) as we have the
hooks in the kernel this was missed during the merge from the port.
Noticed by: Amir S. (for the HOOK_HACK part)
Approved by: bms(mentor)
|
| | |
| | |
| | |
| | |
| | |
| | | |
nfs sockets.
Requested by: ru
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
options, status pointer and rusage pointer as arguments. It is up to
the caller to copyout the status and rusage to userland if needed. This
lets us axe the 'compat' argument and hide all that functionality in
owait(), by the way. This also cleans up some locking in kern_wait()
since it no longer has to drop locks around copyout() since all the
copyout()'s are deferred.
- Convert owait(), wait4(), and the various ABI compat wait() syscalls to
use kern_wait() rather than wait1() or wait4(). This removes a bit
more stackgap usage.
Tested on: i386
Compiled on: i386, alpha, amd64
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
mounts which will be closed by netapp, solaris, etc. if left idle too long.
Obtained from: NetBSD
|
| | |
| | |
| | |
| | |
| | | |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
appropriate default values. Document it in the manpage.
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Abstains: bde
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Without this fix it is possible to cheat policies like:
- sysctl security.bsd.see_other_[gu]ids=0,
- mac_seeotheruids(4),
- jail(2)
and get full processes list with their arguments.
This problem exists from revision 1.62 of kern_proc.c when it was
introduced.
Reviewed by: nectar, rwatson.
|
| | |
| | |
| | |
| | |
| | | |
Inspired by: Day spent hiking to hot springs in Taiwan
Powered by: Asia BSDCon 2004
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
woken up in the middle of sleeping.
PR: misc/64347
Reviewed by: tjr
MFC after: 7 days
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
as the process that opens tun_softc can exit before the file
descriptor is closed.
Taiwan experience provided by: keichii
Crashing breakers provided by: Chia-liang Kao <clkao@clkao.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(tap_pid, tap_flags). if_tap should now be entirely MPSAFE.
Committed from: Bamboo house by ocean in Taiwan
Tropical paradise provided by: Chia-liang Kao <clkao@clkao.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Man pages fixes.
Submitted by: Stanislav A. Svirid <count@riss-telecom.ru>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
group block locked. If filesystem has any active snapshots, bawrite
can come back trying to allocate new snapshot data block from the same
cylinder group and cause panic due to recursive lock attempt.
PR: 64206
Reviewed by: mckusick
Tested by: pjd
|
| | |
| | |
| | |
| | |
| | | |
The result isn't quite knf, but it's knfer than the original, and far
more consistent.
|
| | | |
|