#
3c323631 |
| 04-Feb-2009 |
ad <ad@NetBSD.org> |
PR kern/36183 problem with ptrace and multithreaded processes
Fix the crashy test case that Thor provided.
|
#
461a86f9 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
0efea177 |
| 12-Nov-2008 |
ad <ad@NetBSD.org> |
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
#
7ac8fe23 |
| 21-Oct-2008 |
ad <ad@NetBSD.org> |
Correction to previous.
|
#
d1b01a37 |
| 21-Oct-2008 |
ad <ad@NetBSD.org> |
Provide a small inline wrapper for sysent::sy_call() and use it to store the active syscall description in struct lwp. To be used at some future point to prevent unloading of modules that provide sys
Provide a small inline wrapper for sysent::sy_call() and use it to store the active syscall description in struct lwp. To be used at some future point to prevent unloading of modules that provide syscalls, while the syscalls are in use.
show more ...
|
#
a9327b33 |
| 21-Oct-2008 |
ad <ad@NetBSD.org> |
Undo revivesa damage to userret().
|
#
a5611119 |
| 16-Oct-2008 |
ad <ad@NetBSD.org> |
Another revivesa merge botch.
|
#
02b55728 |
| 15-Oct-2008 |
wrstuden <wrstuden@NetBSD.org> |
Pre-declare struct sadata_vp here so we avoid a circular dependency between this file and savar.h. This lets lwp.h stand on its own.
I do not understand why compiling kernels on i386 did not catch t
Pre-declare struct sadata_vp here so we avoid a circular dependency between this file and savar.h. This lets lwp.h stand on its own.
I do not understand why compiling kernels on i386 did not catch this.
show more ...
|
#
fc7511b0 |
| 15-Oct-2008 |
wrstuden <wrstuden@NetBSD.org> |
Merge wrstuden-revivesa into HEAD.
|
#
337b081f |
| 07-Oct-2008 |
rmind <rmind@NetBSD.org> |
- Replace lwp_t::l_sched_info with union: pointer and timeslice. - Change minimal time-quantum to ~20 ms. - Thus remove unneeded pool in M2, and unused sched_lwp_exit(). - Do not increase l_slptime t
- Replace lwp_t::l_sched_info with union: pointer and timeslice. - Change minimal time-quantum to ~20 ms. - Thus remove unneeded pool in M2, and unused sched_lwp_exit(). - Do not increase l_slptime twice for SCHED_4BSD (regression fix).
show more ...
|
#
3599fd99 |
| 28-Aug-2008 |
yamt <yamt@NetBSD.org> |
remove now unused spc_dunlock.
|
#
4691dacd |
| 25-Jul-2008 |
uwe <uwe@NetBSD.org> |
Declare lwp_exit_switchaway() __dead. Add infinite loop at the end of lwp_exit_switchaway() to convince gcc that cpu_switchto(NULL, ...) is really not going to return in that case. Exposed by gcc4.
Declare lwp_exit_switchaway() __dead. Add infinite loop at the end of lwp_exit_switchaway() to convince gcc that cpu_switchto(NULL, ...) is really not going to return in that case. Exposed by gcc4.3.
Reported on tech-kern by Alexander Shishkin.
show more ...
|
#
f4ddfb5c |
| 03-Jul-2008 |
ad <ad@NetBSD.org> |
lwp_lock: this can't be simplified for the UP case, as races still exist.
|
#
73f3b7bb |
| 02-Jul-2008 |
rmind <rmind@NetBSD.org> |
Remove outdated comments, and historical CCPU_SHIFT. Make resched_cpu static, const-ify ccpu. Note: resched_cpu is not correct, should be revisited.
OK by <ad>.
|
#
61fc86b2 |
| 02-Jul-2008 |
rmind <rmind@NetBSD.org> |
Remove locking of p_stmutex from sched_pstats(), protect l_pctcpu with p_lock, and make l_cpticks lock-less. Should fix PR/38296.
Reviewed (slightly different version) by <ad>.
|
#
1d875fc7 |
| 22-Jun-2008 |
christos <christos@NetBSD.org> |
Adjust to separate kcpuset_t and cpuset_t.
|
#
629b15f4 |
| 17-Jun-2008 |
ad <ad@NetBSD.org> |
Update a comment.
|
#
b7f50632 |
| 16-Jun-2008 |
ad <ad@NetBSD.org> |
lwp_lock_retry: return a pointer to the lock acquired. No functional change.
|
#
f30b5785 |
| 15-Jun-2008 |
christos <christos@NetBSD.org> |
Don't expose struct cpuset, share the l_affinity flag and only allocate it if we need to. This is not a compatible change, but the syscalls are new enough and they don't need to be versioned. Approve
Don't expose struct cpuset, share the l_affinity flag and only allocate it if we need to. This is not a compatible change, but the syscalls are new enough and they don't need to be versioned. Approved by rmind.
show more ...
|
#
ea8a9257 |
| 02-Jun-2008 |
ad <ad@NetBSD.org> |
If vfork(), we want the LWP to run fast and on the same CPU as its parent, so that it can reuse the VM context and cache footprint on the local CPU.
|
#
2feabc38 |
| 31-May-2008 |
ad <ad@NetBSD.org> |
PR kern/38812 race between lwp_exit_switchaway and exit1/coredump
Move the LWP RUNNING and TIMEINTR flags into the thread-private flag word.
|
#
5f701aa0 |
| 19-May-2008 |
rmind <rmind@NetBSD.org> |
- Make periodical balancing mandatory. - Fix priority raising in M2 (broken after making runqueues mandatory).
|
#
5d2bff06 |
| 16-May-2008 |
hannken <hannken@NetBSD.org> |
Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect
Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
show more ...
|
#
a4e0004b |
| 06-May-2008 |
ad <ad@NetBSD.org> |
LOCKDEBUG: try to speed it up a bit by not using so much global state.
This will break the build briefly but will be followed by another commit to fix that..
|
#
04feebca |
| 02-May-2008 |
ad <ad@NetBSD.org> |
PR kern/38141 lookup/vfs_busy acquire rwlock recursively
Until the code paths are fixed properly, put in place an ugly workaround to make it safe to recursively acquire a read lock on a mount.
|