On Jan 12, 2015 4:40 PM, "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote: > > geist just made a good point on IRC: khash would not resize itself automatically. I haven't had the time to read over Adrien's changes, but in the kernel you cannot always simply allocate memory. OpenHashTable will return a failure from Insert if it can't allocate, so that just needs to be checked (haven't looked yet if that's the case in the recent refactoring). Regards, Rene