From: Schrober <franzschrober@yahoo.de>
To: linux-kernel@vger.kernel.org
Cc: Sasha Levin <levinsasha928@gmail.com>
Subject: Hashtable implementation breaks on flow statements
Date: Mon, 14 Jan 2013 11:51:35 +0100 [thread overview]
Message-ID: <1482200.orrNyi3164@bentobox> (raw)
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
next reply other threads:[~2013-01-14 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 10:51 Schrober [this message]
2013-01-14 20:03 ` Hashtable implementation breaks on flow statements Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1482200.orrNyi3164@bentobox \
--to=franzschrober@yahoo.de \
--cc=levinsasha928@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.