[PATCH 3/6] rhashtable: simplify a strange allocation pattern

2017-01-12 Thread Michal Hocko
From: Michal Hocko alloc_bucket_locks allocation pattern is quite unusual. We are preferring vmalloc when CONFIG_NUMA is enabled. The rationale is that vmalloc will respect the memory policy of the current process and so the backing memory will get distributed over multiple

[PATCH 3/6] rhashtable: simplify a strange allocation pattern

2017-01-12 Thread Michal Hocko
From: Michal Hocko alloc_bucket_locks allocation pattern is quite unusual. We are preferring vmalloc when CONFIG_NUMA is enabled. The rationale is that vmalloc will respect the memory policy of the current process and so the backing memory will get distributed over multiple nodes if the