Re: [PATCH -next 0/6] rhashtable: guarantee first allocation

2018-05-24 Thread Davidlohr Bueso
On Thu, 24 May 2018, Linus Torvalds wrote: On Thu, May 24, 2018 at 2:28 PM Davidlohr Bueso wrote: 10 files changed, 79 insertions(+), 86 deletions(-) I certainly can't complain about this small code removal, but I think if we did the kvmalloc_node() cleanup, we'd be able to get rid of even

Re: [PATCH -next 0/6] rhashtable: guarantee first allocation

2018-05-24 Thread Linus Torvalds
On Thu, May 24, 2018 at 2:28 PM Davidlohr Bueso wrote: > 10 files changed, 79 insertions(+), 86 deletions(-) I certainly can't complain about this small code removal, but I think if we did the kvmalloc_node() cleanup, we'd be able to get rid of even more. For example, bucket_table_alloc() does

[PATCH -next 0/6] rhashtable: guarantee first allocation

2018-05-24 Thread Davidlohr Bueso
Hi, This series is the result of the discussion with Linus around ipc subsystem initialization and how it behaves with error return when calling rhashtable_init()[1]. Instead of caring about the error or calling the infamous BUG_ON, Linus suggested we guarantee the rhashtable allocation. First tw