Re: net: non contiguous allocations passed to build_skb

2015-04-24 Thread Eric Dumazet
On Fri, 2015-04-24 at 15:02 -0700, Eric Dumazet wrote: > On Fri, 2015-04-24 at 17:28 -0400, Sasha Levin wrote: > > Hey Eric, > > > > Your commit 79930f5892e ("net: do not deplete pfmemalloc reserve") assumes > > that > > build_skb() will only handle contiguous allocations because of the > > virt_

Re: net: non contiguous allocations passed to build_skb

2015-04-24 Thread Eric Dumazet
On Fri, 2015-04-24 at 17:28 -0400, Sasha Levin wrote: > Hey Eric, > > Your commit 79930f5892e ("net: do not deplete pfmemalloc reserve") assumes > that > build_skb() will only handle contiguous allocations because of the > virt_to_head_page(). > > However, netlink_sendmsg() calls build_skb() wit