diff options
| author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-06-06 14:37:15 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:59:26 +0200 |
| commit | f082042d4757472aae65f2ef6f133156f761ea46 (patch) | |
| tree | 049adfb73afe7c9e6d9a755bf80e121c5b2cf809 /lib | |
| parent | 87cda632f63edad7d75465e1aaddbf5331610ce9 (diff) | |
idr: reorder the fields
idr_layer->layer is always accessed in read path, move it in the front.
idr_layer->bitmap is moved on the bottom. And rcu_head shares with
bitmap due to they do not be accessed at the same time.
idr->id_free/id_free_cnt/lock are free list fields, and moved to the
bottom. They will be removed in near future.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
