[PATCH 0/3] replace few other kvmalloc open coded variants

From: Michal Hocko
Date: Wed May 31 2017 - 11:52:02 EST


Hi,
while doing something unrelated I've noticed these few open coded
kvmalloc variants so let's replace them with the library function. Each
patch can be merged separately so I hope I've CCed proper people. This
is based on the current linux-next.

Shortlog
Michal Hocko (3):
fs/file: replace alloc_fdmem with kvmalloc alternative
lib/rhashtable.c: use kvzalloc in bucket_table_alloc when possible
netfilter: use kvmalloc xt_alloc_table_info

Diffstat
fs/file.c | 22 ++++------------------
lib/rhashtable.c | 7 +++----
net/netfilter/x_tables.c | 12 ++++--------
3 files changed, 11 insertions(+), 30 deletions(-)