]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Allow GFP_ATOMIC bucket table allocation
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Mar 2015 13:50:27 +0000 (00:50 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 02:07:52 +0000 (22:07 -0400)
commit00257895dbb42969ab22332fd265fa826238e215
treec2721bb2c9be54c153869b0ed3b68bbee0bfc70a
parent4b6b27f026ee8bc2d221e31b75e328fa37088716
rhashtable: Allow GFP_ATOMIC bucket table allocation

This patch adds the ability to allocate bucket table with GFP_ATOMIC
instead of GFP_KERNEL.  This is needed when we perform an immediate
rehash during insertion.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c