[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1566470851-4694-1-git-send-email-jan.dakinevich@virtuozzo.com>
Date: Thu, 22 Aug 2019 10:48:08 +0000
From: Jan Dakinevich <jan.dakinevich@...tuozzo.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: Denis Lunev <den@...tuozzo.com>,
Konstantin Khorenko <khorenko@...tuozzo.com>,
"jan.dakinevich@...il.com" <jan.dakinevich@...il.com>,
Jan Dakinevich <jan.dakinevich@...tuozzo.com>,
"David S. Miller" <davem@...emloft.net>,
"Alexey Kuznetsov (C)" <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
Johannes Berg <johannes.berg@...el.com>,
David Ahern <dsahern@...il.com>,
Christian Brauner <christian@...uner.io>,
Stephen Hemminger <stephen@...workplumber.org>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Willem de Bruijn <willemb@...gle.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Simon Horman <simon.horman@...ronome.com>,
John Hurley <john.hurley@...ronome.com>,
Paolo Abeni <pabeni@...hat.com>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Eric Dumazet <edumazet@...gle.com>,
Li RongQing <lirongqing@...du.com>,
Taehee Yoo <ap420073@...il.com>,
Patrick Talbert <ptalbert@...hat.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Thomas Gleixner <tglx@...utronix.de>,
Dmitry Safonov <dima@...sta.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"netfilter-devel@...r.kernel.org" <netfilter-devel@...r.kernel.org>,
"coreteam@...filter.org" <coreteam@...filter.org>
Subject: [PATCH 0/3] rework netlink skb allocation
Currently, userspace is able to initiate costly high-order allocation in
kernel sending large broadcast netlink message, which is considered
undesirable. At the same time, unicast message are safe in this regard,
because they uses vmalloc-ed memory.
This series introduces changes, that allow broadcast messages to be
allocated with vmalloc() as well as unicast.
Jan Dakinevich (3):
skbuff: use kvfree() to deallocate head
netlink: always use vmapped memory for skb data
netlink: use generic skb_set_owner_r()
include/linux/netlink.h | 16 ----------------
net/core/skbuff.c | 2 +-
net/ipv4/fib_frontend.c | 2 +-
net/netfilter/nfnetlink.c | 2 +-
net/netlink/af_netlink.c | 39 +++++++--------------------------------
5 files changed, 10 insertions(+), 51 deletions(-)
--
2.1.4
Powered by blists - more mailing lists