Messages in this thread | | | From | Schrober <> | Subject | Hashtable implementation breaks on flow statements | Date | Mon, 14 Jan 2013 11:51:35 +0100 |
| |
Hi,
I think the new hash implementation in include/linux/hashtable.h is slightly unintuitive when using things like hash_for_each, hash_for_each_rcu, hash_for_each_safe and hash_for_each_possible.
Users may want to get out of the loop through the hashtable iteration when some condition is met. This works well on hlist, list and other "abstract" data types. But the hash table would just jump to the next bucket and continue. -- Franz Schrober
| |