On Thursday, April 18, 2013 21:20:55 Antonio Quartulli wrote:
Instead of scheduling the global entry removals in batadv_orig_node_free_rcu() (which would result in scheduling other RCU callbacks for the next RCU period), do it in batadv_orig_node_free_ref() directly.
In this way all the callbacks get scheduled in one RCU period.
CC: Linus Lüssing linus.luessing@web.de CC: Simon Wunderlich siwu@hrz.tu-chemnitz.de CC: Marek Lindner lindner_marek@yahoo.de Signed-off-by: Antonio Quartulli ordex@autistici.org
originator.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
I'd rather see a cleaner solution instead making the "less than ideal" situation worse.
Cheers, Marek