#
d8788e7f |
| 10-Mar-2008 |
martin <martin@NetBSD.org> |
Use cpu index instead of the machine dependend, not very expressive cpuid when naming user-visible kernel entities.
|
#
598ab03a |
| 05-Dec-2007 |
ad <ad@NetBSD.org> |
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written for Solaris.
|
#
69aa06cd |
| 07-Aug-2007 |
yamt <yamt@NetBSD.org> |
don't bother to set thread's priority by ourselves, as kthread_create does it for us now. from Andrew Doran.
|
#
e3fe8e01 |
| 07-Aug-2007 |
yamt <yamt@NetBSD.org> |
- don't assume the order of cpus in a CPU_INFO_FOREACH loop. - remove unused structure members. - simplify.
|
#
5b2aca96 |
| 05-Aug-2007 |
ad <ad@NetBSD.org> |
Current convention is to name/number objects after ci->ci_cpuid, so do that when creating the kthreads. We may want to change this.
|
#
c8c02436 |
| 05-Aug-2007 |
rmind <rmind@NetBSD.org> |
Improve per-CPU support for the workqueue(9): - Make structures CPU-cache friendly, as suggested and explained by Andrew Doran. CACHE_LINE_SIZE definition is invented. - Use current CPU if NULL
Improve per-CPU support for the workqueue(9): - Make structures CPU-cache friendly, as suggested and explained by Andrew Doran. CACHE_LINE_SIZE definition is invented. - Use current CPU if NULL is passed to the workqueue_enqueue(). - Implemented MI CPU index, which could be used as an index of array. Removed linked-lists usage for work queues.
The roundup2() function avoids division, but works only with power of 2.
Reviewed by: <ad>, <yamt>, <tech-kern>
show more ...
|
#
4b7209cf |
| 20-Jul-2007 |
yamt <yamt@NetBSD.org> |
hide internals of struct work.
|
#
d3b878ab |
| 18-Jul-2007 |
ad <ad@NetBSD.org> |
workqueue_destroy: fix a use-after-free.
|
#
8c2097ad |
| 13-Jul-2007 |
rmind <rmind@NetBSD.org> |
Make MP parts friendly with various ports (especially UP): - #ifdef code parts, which uses CPU_INFO_FOREACH/CPU_INFO_ITERATOR - use ci_cpuid only in MP case - include machine/cpu.h
|
#
20bbb87e |
| 12-Jul-2007 |
rmind <rmind@NetBSD.org> |
Implementation of per-CPU work-queues support for workqueue(9) interface. WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue() to assign a CPU might be used. Notes: - For now
Implementation of per-CPU work-queues support for workqueue(9) interface. WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue() to assign a CPU might be used. Notes: - For now, the list is used for workqueue_queue, which is non-optimal, and will be changed with array, where index would be CPU ID. - The data structures should be changed to be cache-friendly.
Reviewed by: <yamt>, <tech-kern>
show more ...
|
#
88ab7da9 |
| 09-Jul-2007 |
ad <ad@NetBSD.org> |
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
#
c574bfa3 |
| 27-Feb-2007 |
yamt <yamt@NetBSD.org> |
typedef pri_t and use it instead of int and u_char.
|
#
f39831ee |
| 11-Feb-2007 |
yamt <yamt@NetBSD.org> |
workqueue_exit: update a comment.
|
#
be27733f |
| 11-Feb-2007 |
yamt <yamt@NetBSD.org> |
use cv_signal rather than cv_broadcast where appropriate.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
8bf76628 |
| 21-Dec-2006 |
yamt <yamt@NetBSD.org> |
merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem
merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem, which is reported to cause audio skipping. - fix netbt (at least compilation problems) for some ports. - fix PR/33218.
show more ...
|
#
1a7bc55d |
| 01-Nov-2006 |
yamt <yamt@NetBSD.org> |
remove some __unused from function parameters.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
14cd84c2 |
| 16-Sep-2006 |
yamt <yamt@NetBSD.org> |
add workqueue_destroy().
|
#
466a92de |
| 16-Sep-2006 |
yamt <yamt@NetBSD.org> |
workqueue_create: use kmem_alloc rather than malloc.
|
#
69ade272 |
| 02-May-2006 |
rpaulo <rpaulo@NetBSD.org> |
Use for in a forever loop as per KNF.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
54f971f4 |
| 29-Oct-2005 |
yamt <yamt@NetBSD.org> |
add a simple "do it in thread context" framework.
|