diff options
author | David S. Miller <davem@davemloft.net> | 2014-11-12 00:00:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 00:00:20 -0500 |
commit | ee47ad42c5868ffad569a94dd680f7ae79de2fb9 (patch) | |
tree | 206430a4e03f692046408bdf35ca021112770e3b /drivers/net/ethernet/sun/sunvnet.c | |
parent | 6c91023dc35c88d5e6aebe4bfe6f1ed5ec2b84be (diff) | |
parent | 160d2aba550b23c6a538158511d5adccc400f04c (diff) | |
download | linux-ee47ad42c5868ffad569a94dd680f7ae79de2fb9.tar.bz2 |
Merge branch 'skb_alloc_pages'
Alexander Duyck says:
====================
Replace __skb_alloc_pages with simpler function
This patch series replaces __skb_alloc_pages with a much simpler function,
__dev_alloc_pages. The main difference between the two is that
__skb_alloc_pages had an sk_buff pointer that was being passed as NULL in
call places where it was called. In a couple of cases the NULL was passed
by variable and this led to unnecessary code being run.
As such in order to simplify things the __dev_alloc_pages call only takes a
mask and the page order being requested. In addition it takes advantage of
several behaviors already built into the page allocator so that it can just
set GFP flags unconditionally.
v2: Renamed functions to dev_alloc_page(s) instead of netdev_alloc_page(s)
Removed __GFP_COLD flag from usb code as it was redundant
v3: Update patch descriptions and subjects to match changes in v2
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sun/sunvnet.c')
0 files changed, 0 insertions, 0 deletions