| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't keep the SPDIF state in the driver private struct since it
can be overriden by hand with pciconf(8), query it when needed instead.
Regarding the locking I let Ariff explain it himself:
---snip---
About the locking, that is what I'm intended to do since the beginning.
The reason I'm not putting that along since my first patchset was
because several people especially from amd46 camp reported that it cause
lots of LORs, which is weird considering that I've never encounter such
in a pretty much strict locking environment (i386). However, since our
previous discussion with Pyun YongHyeon about strict locking, I've
decided to bring it back for all the affected drivers, not just for
es137x. It turns out that the root of the problem was within dsp.c
during device open, which has been fixed since dsp.c revision 1.84.
---snip---
Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
|
|
|
|
|
|
|
|
|
|
|
| |
code which may help.
People with a ich compatible soundcard which want to help out should
change the "#if 1" to a "#if 0" and try if the soundcard still works.
Reports about working or not-working soundcards with this change to
multimedia@ please.
PR: 73987
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove references to cpu_critical_*() as they no longer exist.
- Explain that any preemptions that occur during a critical section are
deferred until the current thread exits the section.
- Remove a bogus example usage of a critical section.
- Note that one can interlock critical sections with spin mutexes in
certain situations.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for mutual exclusion:
A brief description of the problem:
1) Proc A picks up non-blocking lock on file X
2) Proc B attempts to pickup lock, fails then waits
3) Proc C attempts to pickup lock, fails then waits
4) Proc A releases lock
5) Proc B acquires lock, release it to pickup a non-blocking version
6) Proc C acquires lock, release it to pickup a non-blocking version
7) Both process B and C race each other to pickup lock again
This occurs mainly because the processes do not keep the lock after they have
been waiting on it. They drop it, attempt to re-acquire it. (They use the wait
to notify when the lock has become available then race to pick it up). This
results in additional CPU utilization during the race, and can also result
in processes picking locks up out of order.
This change attempts to correct this problem by eliminating the test/acquire
race and having the operating system handle it.
Reported by: kris
Tested by: kris
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Igor Sysoev <is@rambler-co.ru>
MFC after: 3 days
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| | |
for U?INT32_{MAX,MIN} from asn1.h into the .c files that actually require
them (the .h file doesn't refer to these macros).
|
| |
| |
| |
| |
| | |
measure the rate of TCP connection round trips supported by a host at
the socket layer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
opt_device_polling.h
- Include opt_device_polling.h into appropriate files.
- Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that
can be compiled as loadable modules.
Reviewed by: bde
|
| |
| |
| |
| | |
- Include opt_device_polling.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
modules along with kernel.
After this change it is possible to embrace opt_*.h includes with ifdef
HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles
in modules directory each time we introduce a new opt_xxx.h.
Requested by: bde
|
| |
| |
| |
| | |
MFC after: 1 day
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Add support for Tamarack TC5299J + MII found on SMC 8041TX V.2
and corega PCCCCTXD
o Add support for ISA/PCI RTL80[12]9 chips
o Improve support for the ax88790 based
o minor code movement
Submitted by: (#2) David Madole
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
host name. This is matches the documented behaviro. The previous
behavior would remove the domain name even if the result retained a dot.
This fixes rsh connections from a.example.com to example.com.
Reviewed by: ceri (at least the concept)
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
don't print anything at all.
# this fixes a problem that I noticed with devd.pipe not terminating lines
# with \n correctly sometimes.
|
| |
| |
| |
| |
| |
| |
| | |
In those contexted, use subsystem instead.
# This causes dhclient to run again when I plug in my ethernet cable to
# my fxp card in my laptop.
|
| |
| |
| |
| | |
Reviewed by: ken
|
| |
| |
| |
| |
| | |
bug fixed in the last commit to map.c in a different way. Follow NetBSD to
facilitate future merges.
|
| |
| |
| |
| |
| |
| | |
Fix double if (from Alexey E. Suslikov via jmc@openbsd).
While here, re-word both H_[GS]ETUNIQUE descriptions so they make
more sense. Bump date.
|
| |
| |
| |
| |
| | |
PR/31012: Barry Naujok: libedit el_get with EL_EDITOR op does not work
Fixed as suggested.
|
| | |
|
| |
| |
| |
| |
| | |
to savectx isn't always, so always use stmia, savectx isn't called enough
to need that kind of optimization.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the arp code will search all local interfaces for a match. This triggers a
kernel log if the bridge has been assigned an address.
arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142!
bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.142 netmask 0xffffff00
ether ac:de:48:18:83:3d
Silence this warning for 6.0 to stop unnecessary bug reports, the code will need
to be reworked.
Approved by: mlaier (mentor)
MFC after: 3 days
|
| |
| |
| |
| |
| | |
Pointed out by: nate
Pointy hat to: andre
|
| |
| |
| |
| | |
Sponsored by: TCP/IP Optimization Fundraise 2005
|
| |
| |
| |
| |
| |
| |
| |
| | |
the MAC result, as well as avoid losing the DAC check result when MAC
is enabled.
MFC after: 3 days
Reported by: Patrick LeBlanc <Patrick dot LeBlanc at sparta dot com>
|
| |
| |
| |
| | |
declaration out of the #ifdef.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Slightly discussed on current@.
LOR #055
MFC after: 14 days
|
| |
| |
| |
| |
| |
| |
| | |
locks. Also while we are here, protect the bpf descriptor during
knlist_remove{add} operations.
Discussed with: rwatson
|
| |
| |
| |
| | |
configuration flags to CFLAGS.
|
| |
| |
| |
| | |
configuration flags to CFLAGS and set the WARNS level to 6.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this change a copy operation with cp(1) would not update the
file access times.
According to the POSIX mmap(2) documentation: the st_atime field
of the mapped file may be marked for update at any time between the
mmap() call and the corresponding munmap() call. The initial read
or write reference to a mapped region shall cause the file's st_atime
field to be marked for update if it has not already been marked for
update.
|
| | |
|
| |
| |
| |
| | |
previous import.
|
| |
| |
| |
| |
| |
| |
| |
| | |
While we are here, add a note that we need to lock the object before walking
the backing object list.
Pointed out by: alc
Discussed with: rwatson
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Remove kernel.tramp if it exists on make clean.
|
| |
| |
| |
| | |
make arm/in_cksum.c and arm/in_cksum_asm.S depend on INET.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
framework. This makes Giant protection around MAC operations which inter-
act with VFS conditional, based on the MPSAFE status of the file system.
Affected the following syscalls:
o __mac_get_fd
o __mac_get_file
o __mac_get_link
o __mac_set_fd
o __mac_set_file
o __mac_set_link
-Drop Giant all together in __mac_set_proc because the
mac_cred_mmapped_drop_perms_recurse routine no longer requires it.
-Move conditional Giant aquisitions to after label allocation routines.
-Move the conditional release of Giant to before label de-allocation
routines.
Discussed with: rwatson
|
| |
| |
| |
| |
| |
| |
| | |
we can drop it all together in __mac_set_proc.
Reviewed by: alc
Discussed with: rwatson
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and "vlandev" commands can be specified in any order.
This makes the code more compact and clear as well.
Improve error check on vlan argument.
MFC after: 2 weeks
|
| | |
|