pooka
7d41c1505d
track dirty vm objects
2007-08-07 19:37:05 +00:00
pooka
34c0850533
When doing "ubc faults", truncate offsets to page boundary to get
...
the last page also if it's accessed from the middle of the page.
2007-08-07 19:14:51 +00:00
ad
c3f8e2ee55
Change the signature of _lwp_park() to accept an lwpid_t and second
...
hint pointer, but do so in a way that remains compatible with older
pthread libraries. This can be used to wake another thread before the
calling thread goes asleep, saving at least one syscall + involuntary
context switch. This turns out to be a fairly large win on the condvar
benchmarks that I have tried.
2007-08-07 19:04:21 +00:00
ad
a72ab2ed2c
NetBSD 4.99.27: _lwp_park() behaviour changed. libpthread will check
...
kern.osrevision.
2007-08-07 19:02:43 +00:00
ad
06f7ccf01d
Regen.
2007-08-07 19:01:23 +00:00
ad
830ab6bb3c
- Fix a bug with _lwp_park() where if the computed wakeup time was under
...
1 microsecond into the future, the thread could enter an untimed sleep.
- Change the signature of _lwp_park() to accept an lwpid_t and second
hint pointer, but do so in a way that remains compatible with older
pthread libraries. This can be used to wake another thread before the
calling thread goes asleep, saving at least one syscall + involuntary
context switch. This turns out to be a fairly large win on the condvar
benchmarks that I have tried.
- Mark some more syscalls MP safe.
2007-08-07 19:00:42 +00:00
pooka
09afbbeda4
mutex_pwned - needed for kassert
2007-08-07 17:55:49 +00:00
pooka
24293880e1
in case of no error, init *error to 0
2007-08-07 16:55:22 +00:00
xtraeme
ea44cd3ae2
<wizd> Bump date for previous.
2007-08-07 15:00:09 +00:00
xtraeme
555fcb5606
The acpilid(4) powerd script is "lid_switch" not "lid_button"... found
...
by jmcneill@.
2007-08-07 14:03:00 +00:00
pooka
a213499d32
dump further info for read/write
2007-08-07 13:44:27 +00:00
yamt
69aa06cd40
don't bother to set thread's priority by ourselves,
...
as kthread_create does it for us now. from Andrew Doran.
2007-08-07 12:50:26 +00:00
ad
eef90c7197
Regen.
2007-08-07 12:48:52 +00:00
ad
b9d8ad095d
wait() can't yet be MPSAFE since it's impractical to hold proclist_mutex
...
across exit(), and so there is a short race against cv_wait_sig(). This
can be reverted when proclist_mutex/proclist_lock merge.
2007-08-07 12:48:30 +00:00
ad
5005559992
Do cv_broadcast() on proc::p_waitcv to be on the safe side (the parent
...
could be multithreaded).
2007-08-07 12:45:54 +00:00
yamt
7253d0ec03
use a pre-generated list of files instead of running find(1) again and again.
...
PR/34551.
2007-08-07 12:44:39 +00:00
yamt
1912a2fa9c
add a file generated by mkheaderlist.sh.
2007-08-07 12:43:02 +00:00
yamt
f4069de4f3
a script to generate a list of headers for Makefile.disklabel.
2007-08-07 12:38:23 +00:00
ad
21a5d0733c
Fix typo.
2007-08-07 12:00:25 +00:00
ad
c1bc924601
No reason not to make itimespecfix() generally available..
2007-08-07 11:43:35 +00:00
ad
4a8903393a
Export itimespecfix() until itimerfix() dies.
2007-08-07 11:39:18 +00:00
ad
178e1d5907
More calls to pmap_update().
2007-08-07 11:30:20 +00:00
ad
eb5991fdda
x86_ipi: don't wait for the IPI to go, unless DIAGNOSTIC. If it doesn't go,
...
the system is going to fail regardless.
2007-08-07 11:28:26 +00:00
ad
4f5723ab5d
Add a couple more calls to pmap_update().
2007-08-07 11:25:40 +00:00
yamt
e3fe8e011e
- don't assume the order of cpus in a CPU_INFO_FOREACH loop.
...
- remove unused structure members.
- simplify.
2007-08-07 10:42:22 +00:00
pooka
f5e5e38069
-I${NETBSDSRCDIR}/common/include
2007-08-07 10:30:39 +00:00
seb
2d1475af34
Fix typo.
...
Ok'ed by xtraeme@
2007-08-07 10:17:17 +00:00
pooka
2ef1090efd
more bsd.own.mk inclusion
2007-08-07 10:16:56 +00:00
pooka
b24ef6ec06
flip order of includes to get NETBSDSRCDIR. from agc
2007-08-07 10:13:31 +00:00
yamt
6065343dde
reduce diff.
2007-08-07 10:02:40 +00:00
ad
23cf810fc7
Regen.
2007-08-07 09:46:39 +00:00
ad
9dab7d5077
gettimeofday() doesn't need locks, and MySQL seems to make heavy use of it.
2007-08-07 09:46:24 +00:00
pooka
140d9a0ccb
offset orgies, part n+1. this is still not right, but at least it's better
2007-08-07 09:03:43 +00:00
apb
46427a7162
Regen after recent changes to configure.ac and compat_defs.h.
...
(Most of the changes seem to result from somebody having used
non-tools versions of autoconf and autoheader in the past.)
2007-08-07 08:29:15 +00:00
apb
a7b292d021
Update the instructions to say that regen should be done again
...
to pick up changed RCS IDs.
2007-08-07 08:27:41 +00:00
apb
0da2db6cd1
Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
...
This is adapted from the very detailed fix provided by
Giles Lean in PR bin/36678.
Only one simplified implementation is provided, instead of the
two implementations conditional on __GNUC_PREREQ__(2,95) that are
provided in NetBSD's <sys/endian.h>. The use of memcpy instead of
__builtin__memcpy, and the absence of __inline or __unused, should make
it independent of GCC.
2007-08-07 08:22:04 +00:00
simonb
7bfbbfe3f5
Unwrap not-too-long line.
2007-08-07 08:00:46 +00:00
simonb
2e290a73eb
Fix a tyop.
2007-08-07 07:48:57 +00:00
apb
581beaff5e
More detailed instructions for what to do when editing configure.ac.
...
In particular, discourage the use of non-tools versions of
autoconf and autoheader.
2007-08-07 07:47:50 +00:00
dyoung
3aa180f03a
As a stopgap measure to avoid dependency on net/if.h, don't use
...
IFNAMSIZ.
2007-08-07 04:59:46 +00:00
dyoung
178f1dafa8
Use satocsdl() instead of SDL(). Constify.
2007-08-07 04:42:49 +00:00
dyoung
97ecf3fcfd
Constify. bcopy -> memcpy.
2007-08-07 04:41:46 +00:00
dyoung
9ca94f6e09
Use satocsdl() instead of SDL().
2007-08-07 04:41:15 +00:00
dyoung
846a5ed688
Use satocsdl() instead of SDL(). bcopy -> memcpy.
2007-08-07 04:39:34 +00:00
dyoung
e3b7db6399
Constify.
2007-08-07 04:37:44 +00:00
dyoung
0640a03023
Use satocsdl() et cetera instead of SDL(). Constify.
2007-08-07 04:37:04 +00:00
dyoung
27de48611a
Avoid writing past the end of the buffer [lldst, lldst + dstsize)
...
in nd6_storelladdr().
Use sockaddr_dl_setaddr(). Constify some sockaddr_dl's. Constify
a sockaddr argument to nd6_na_output(). Change SDL() to "standard"
satocsdl() or satosdl(). Change SIN6() to satocsin6() or satosin6().
bcmp -> memcmp, bcopy -> memcpy.
2007-08-07 04:35:42 +00:00
manu
1c79bc103b
src/racoon/isakmp_xauth.c: Don't mix up RADIUS authentication and
...
authorization ports. Allow interoperability with freeradius
2007-08-07 04:35:01 +00:00
dyoung
59d43281b6
Use sockaddr_dl_measure() and sockaddr_dl_init(). Erase unnecessary
...
cast.
2007-08-07 04:27:44 +00:00
dyoung
1cf606d23a
In if_alloc_sadl(), use sockaddr_dl_init() and satocsdl(). Introduce
...
variable 'mask' for the netmask, and use it instead of assigning
to 'sdl' twice.
In ifa_ifwithnet(), use satocsdl().
2007-08-07 04:14:37 +00:00