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
---
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
---
2 matches
Mail list logo