Messages in this thread | | | Date | Fri, 4 Dec 2015 08:07:02 +0800 | From | Herbert Xu <> | Subject | Re: rhashtable: ENOMEM errors when hit with a flood of insertions |
| |
On Thu, Dec 03, 2015 at 08:08:39AM -0800, Eric Dumazet wrote: > > Well, it will fail before this point if memory is fragmented.
Indeed, I was surprised that it even worked up to that point, possibly because the previous resizes might have actually been done in process context.
> Anyway, __vmalloc() can be used with GFP_ATOMIC, have you tried this ?
Ah I didn't know that. That would be much simpler. I'll give it a try.
Thanks Eric! -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |