Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   rmind
Date:           Sun Aug  5 01:19:18 UTC 2007

Modified Files:
        src/sys/dev/ieee1394: fw_port.h
        src/sys/kern: kern_cpu.c subr_workqueue.c
        src/sys/sys: cpu.h cpu_data.h param.h

Log Message:
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>


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/dev/ieee1394/fw_port.h
cvs rdiff -r1.4 -r1.5 src/sys/kern/kern_cpu.c
cvs rdiff -r1.17 -r1.18 src/sys/kern/subr_workqueue.c
cvs rdiff -r1.9 -r1.10 src/sys/sys/cpu.h src/sys/sys/cpu_data.h
cvs rdiff -r1.269 -r1.270 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index