All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] rcu: don't assume the size of struct rcu_head
@ 2011-03-01  8:03 ` Lai Jiangshan
  0 siblings, 0 replies; 14+ messages in thread
From: Lai Jiangshan @ 2011-03-01  8:03 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Paul E. McKenney, Christoph Lameter, Pekka Enberg, Eric Dumazet,
	David S. Miller, Matt Mackall, linux-mm, linux-kernel, netdev


We always keep the struct rcu_head very small, but we may change it in future
or under some CONFIGs.

There are some other systems may assume the size of struct rcu_head as 2 * sizeof(long).
These assumptions obstruct us to add debug information or priority information
to struct rcu_head. It is time to fix them.

It is glad that I just find 3 places which need to be fixed. These 4 patches
are just cleanup patches when the size of struct rcu_head == 2 * sizeof(long).
NO overhead added and NO behavior changed.
Even when the size of struct rcu_head becomes larger, only slub is changed a little.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-10 15:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  8:03 [PATCH 0/4] rcu: don't assume the size of struct rcu_head Lai Jiangshan
2011-03-01  8:03 ` Lai Jiangshan
2011-03-10  7:21 ` [PATCH 1/3 V2] slub: automatically reserve bytes at the end of slab Lai Jiangshan
2011-03-10  7:21   ` Lai Jiangshan
2011-03-10 15:35   ` Christoph Lameter
2011-03-10 15:35     ` Christoph Lameter
2011-03-10  7:22 ` [PATCH 2/3 V2] slub,rcu: don't assume the size of struct rcu_head Lai Jiangshan
2011-03-10  7:22   ` Lai Jiangshan
2011-03-10 15:36   ` Christoph Lameter
2011-03-10 15:36     ` Christoph Lameter
2011-03-10  7:22 ` [PATCH 3/3 V2] slab,rcu: " Lai Jiangshan
2011-03-10  7:22   ` Lai Jiangshan
2011-03-10 15:36   ` Christoph Lameter
2011-03-10 15:36     ` Christoph Lameter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.