From: Alexander Duyck Date: Wed, 31 Dec 2014 18:56:49 +0000 (-0800) Subject: fib_trie: Push tnode flushing down to inflate/halve X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~312^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc86a93b46d707c6e245b15127409340eaf6ae47;p=pandora-kernel.git fib_trie: Push tnode flushing down to inflate/halve This change pushes the tnode freeing down into the inflate and halve functions. It makes more sense here as we have a better grasp of what is going on and when a given cluster of nodes is ready to be freed. I believe this may address a bug in the freeing logic as well. For some reason if the freelist got to a certain size we would call synchronize_rcu(). I'm assuming that what they meant to do is call synchronize_rcu() after they had handed off that much memory via call_rcu(). As such that is what I have updated the behavior to be. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed