]> 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)
commitb1933f2eb6efd8529f12038a53c78d7d59e85259
treec2721bb2c9be54c153869b0ed3b68bbee0bfc70a
parent8a9e20cb3e8cb653dbb27d9cc10ce249e002d545
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