diff options
author | Simon Wunderlich | 2010-01-02 11:30:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:35 +0100 |
commit | b6c359767bc743a7b6830660daa8f7e5c4273ad8 (patch) | |
tree | 103f486f27d4e9b586480272b2edffd61eebe34c /include/linux/compiler-intel.h | |
parent | Staging: batman-adv: Replace KERN_DEBUG with bat_dbg (diff) | |
download | kernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.tar.gz kernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.tar.xz kernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.zip |
Staging: batman-adv: initialize static hash iterators
instead of dynamically registering hash iterators, calling functions are
changed to register the iterator objects statically. The two advantages are:
* no memory leaks when aborting from hash_iterate()
* no calls to kmalloc/kfree, therefore a little faster/safer
Tested with 9 QEMU instances, no obvious regression found.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/compiler-intel.h')
0 files changed, 0 insertions, 0 deletions