Subject: Re: CVS commit: src/sys
To: None <rmind@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 07/13/2007 11:38:16
> Module Name:	src
> Committed By:	rmind
> Date:		Thu Jul 12 20:39:57 UTC 2007
> 
> Modified Files:
> 	src/sys/dev/dmover: dmover_io.c
> 	src/sys/dev/sysmon: sysmon_envsys_events.c
> 	src/sys/dev/usb: if_aue.c
> 	src/sys/kern: kern_physio.c subr_vmem.c subr_workqueue.c
> 	src/sys/sys: workqueue.h
> 	src/sys/ufs/lfs: lfs_segment.c
> 	src/sys/uvm: uvm_pager.c
> 
> Log Message:
> 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>

- workqueue_create without WQ_PERCPU should not bind the workqueue to curcpu.

- ci_cpuid is not always available.

YAMAMOTO Takashi