public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] kfree_rcu patches
@ 2011-05-04  8:06 Sven Eckelmann
  2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Rename bat_printk.c to compat.c Sven Eckelmann
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Sven Eckelmann @ 2011-05-04  8:06 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

Paul E. McKenney <paulmck@linux.vnet.ibm.com> proposed some changes
which will reduce the amount of "kfree only" rcu-callback functions. The
batman-adv compatibility layer has to add a similar functionality to
support older kernels.

I wanted to propose a solution which should be discussed before the
kfree_rcu functionality enters Linus' kernel and our master branch.

The amount of kfree_rcu_* function was reduced to support only a maximum
offset of 256 to any 'struct rcu_head' inside a struct. This should be
enough for the current version and supported architectures. Offsets of
4096 are supported by Paul E. McKenney's implementation, but our
workaround would increase the size of the final module too much
(personal opinion).

~~~ These patches should *NOT* enter the batman-adv repo right now ~~~~~

Kind regards,
	Sven

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

end of thread, other threads:[~2011-05-20 12:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  8:06 [B.A.T.M.A.N.] kfree_rcu patches Sven Eckelmann
2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Rename bat_printk.c to compat.c Sven Eckelmann
2011-05-07 18:00   ` Marek Lindner
2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add compatibility code for kfree_rcu Sven Eckelmann
2011-05-04 11:51   ` Marek Lindner
2011-05-04 19:11     ` [B.A.T.M.A.N.] [PATCH-Marek " Sven Eckelmann
2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: convert call_rcu(gw_node_free_rcu) to kfree_rcu Sven Eckelmann
2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: convert call_rcu(neigh_node_free_rcu) to kfree() Sven Eckelmann
2011-05-04  8:06 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: convert call_rcu(softif_neigh_free_rcu) to kfree_rcu Sven Eckelmann
2011-05-10  7:16 ` [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: Add compatibility code for kfree_rcu Sven Eckelmann
2011-05-10  7:16   ` [B.A.T.M.A.N.] [PATCHv2 2/4] batman-adv: convert call_rcu(gw_node_free_rcu) to kfree_rcu Sven Eckelmann
2011-05-20 12:29     ` Sven Eckelmann
2011-05-10  7:17   ` [B.A.T.M.A.N.] [PATCHv2 3/4] batman-adv: convert call_rcu(neigh_node_free_rcu) to kfree() Sven Eckelmann
2011-05-20 12:29     ` Sven Eckelmann
2011-05-10  7:17   ` [B.A.T.M.A.N.] [PATCHv2 4/4] batman-adv: convert call_rcu(softif_neigh_free_rcu) to kfree_rcu Sven Eckelmann
2011-05-20 12:30     ` Sven Eckelmann
2011-05-20 12:27   ` [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: Add compatibility code for kfree_rcu Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox