]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Factor out bucket_tail() function
authorThomas Graf <tgraf@suug.ch>
Fri, 2 Jan 2015 22:00:17 +0000 (23:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jan 2015 19:32:57 +0000 (14:32 -0500)
commit4546847c93d429552dc6aac9607d7e969428b593
treea80b48e78a57a10ace266997f65f754034cce083
parent4f9b6789c20a56a534afe5d56efcc7402e9e084a
rhashtable: Factor out bucket_tail() function

Subsequent patches will require access to the bucket tail. Access
to the tail is relatively cheap as the automatic resizing of the
table should keep the number of entries per bucket to no more
than 0.75 on average.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c