| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Provide tunable vm.memguard.desc, so one can specify memory type without
changing the code and recompiling the kernel.
- Allow to use memguard for kernel modules by providing sysctl
vm.memguard.desc, which can be changed to short description of memory
type before module is loaded.
- Move as much memguard code as possible to memguard.c.
- Add sysctl node vm.memguard. and move memguard-specific sysctl there.
- Add malloc_desc2type() function for finding memory type based on its
short description (ks_shortdesc field).
- Memory type can be changed (via vm.memguard.desc sysctl) only if it
doesn't exist (will be loaded later) or when no memory is allocated yet.
If there is allocated memory for the given memory type, return EBUSY.
- Implement two ways of memory types comparsion and make safer/slower the
default.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
- Fix build.
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the line continuation backslash doesn't cause "warn" to print "return".
2. Group "warn" and "return" together as the "return 1" should be
performed only if the "kldload nfsclient" also failed (and not
already if the "vfs.nfs" sysctl(8) check failed).
MFC after: 3 days
|
| | |
| | |
| | |
| | | |
MFC after: 3 days
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This should reduce huge playback / recording latency for
applications that try to act smarter and manage their own
buffering (XMMS, Skype, etc.).
Note to Skype + via8xxx users: Remove previous hackish
"hint.pcm.<unit>.via_dxs_disabled" from kernel hint and see
whether this changes cure all those annoying sound issues.
|
| | |
| | |
| | |
| | |
| | | |
and must be done after sndbuf_feed(), or any attempt to fill
up bufhard. This should fix false underruns counter.
|
| | |
| | |
| | |
| | | |
in an external reference to mac_set_proc(3).
|
| | |
| | |
| | |
| | |
| | |
| | | |
should likely fix this better...
Submitted by: Bryan Liesner (ipod mini)
|
| | |
| | |
| | |
| | |
| | |
| | | |
register, although the only usable part is the mute bit.
Noticed by: Hans Petter Selasky <hselasky@c2i.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
but broke handling of the turboG channel; since we aren't ready to revamp
the channel list just check for turboA channels for now so channel 6 is
considered in auto mode
Noticed by: gibbs
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
try very hard to be perfect. However, these attempts broke down when
there were large numbers of resources. We'd not be able to map them all.
Instead, accept that we might pass more range to thse subbus than
might be optimal be able to compute. However, there's little harm in
this and it allows us to pass greater resources through.
# it has been suggested that we allocate a fixed amount of resources
# on attach and give it out upon request. This might not be a bad idea...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The race is very real, but conditions needed for triggering it are rather
hard to meet now.
When gjournal will be committed (where it is quite easy to trigger) we need
to fix it.
For now, verify if it is really hard to trigger.
Discussed with: kan
|
| | |
| | |
| | |
| | | |
forgot about it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
the msleep_spin() function definition.
Spotted by: pjd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
of msleep(). msleep_spin() doesn't support changing the priority of the
thread while it is asleep nor does it support interruptible sleeps (PCATCH)
or the PDROP flag. It does support timeouts however. It differs from
msleep() in that the passed in mutex is a spin mutex. This means one can
use msleep_spin() and wakeup() with a spin mutex similar to msleep() and
wakeup() with a regular mutex. Note that the spin mutex in question needs
to come before sched_lock and the sleepq locks in lock order.
|
| | |
| | |
| | |
| | | |
of only sleep locks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
spin locks that are not in the static order list. It is not safe to call
printf while holding the witness spin mutex since the console drivers that
back printf may need to use their own spin locks which would try to talk
to witness when they were locked. Given this, it is possible for one
CPU to lock a console driver lock (such as sio) which then tries to lock
the witness lock while another CPU is doing the printf while holding the
witness lock. Fix this by moving the printf outside of the witness lock.
All other printf's in witness are already correct.
MFC after: 3 days
|
| | |
| | |
| | |
| | | |
Hopefully gods of RTFS and RTFCL will not go after me.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
succeed, whilst an i386 with 256MB of RAM requires more. Up the amount
of disk hinted at as a minimum requisite for auto-layout.
MFC after: 1 week
|
| | |
| | |
| | |
| | | |
Reviewed by: apatti, kcyu
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
of a variable according to the usage (after increasing the number of max
buttons this may matter).
Noticed by: flz
|
| | |
| | |
| | |
| | |
| | | |
PR: 90467
Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
|
| | |
| | |
| | |
| | |
| | | |
PR: 89509
Submitted by: David Gilbert <dgilbert@daveg.ca>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
device is able to reproduce should be usable too instead of failing
in such a case.
PR: 89269
Submitted by: Don L. Belcher <don@siad.net>
|
| | |
| | |
| | |
| | |
| | | |
Otherwise, the miss count is actually -kobj_lookup_misses. Mostly a
pedantic change as KOBJ_STATS isn't on by default.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Support more than 7 buttons for USB mice. Patch from NetBSD kern/30248.
PR: 83353
Submitted by: Seán Farley <sean-freebsd@farley.org>
|
| | |
| | |
| | |
| | |
| | | |
PR: 86094
Submitted by: Erik Norgaard <norgaard@locolomo.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
PR: 83247
Submitted by: Sangwoo Shim <ssw@neo.redjade.org>
MFC after: 2 weeks
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.
Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
variable ("YES" vs. "NO") and be more precise and intuitive on what is
actually allowed/restricted by this variable ("UNIX/IP/route sockets"
vs. "TCP/IP protocols").
MFC after: 3 days
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
PR: threads/91044
MFC after: 3 days
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ETHERTYPE_IP and
ETHERTYPE_IPV6 frames. Change this to be a sysctl knob so that is able to still
bridge non-IP packets if desired.
Also return early if all pfil_* sysctls are turned off, the user obviously does
not want to filter on the bridge.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
in src/contrib/bind9/FREEBSD-Upgrade for the 9.2.3 import
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
which included commits to RCS files with non-trunk default branches.
|