[PATCH 7/8] workqueue: move worker->flags up

2013-04-14 Thread Lai Jiangshan
worker->flags is hot field(accessed when process each work item). Move it up the the first 64 bytes(32 byte in 32bis) which are hot fields. And move colder field worker->task down to ensure worker->pool is still in the first 64 bytes. Signed-off-by: Lai Jiangshan ---

[PATCH 7/8] workqueue: move worker-flags up

2013-04-14 Thread Lai Jiangshan
worker-flags is hot field(accessed when process each work item). Move it up the the first 64 bytes(32 byte in 32bis) which are hot fields. And move colder field worker-task down to ensure worker-pool is still in the first 64 bytes. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com ---