lkml.org 
[lkml]   [2012]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/16] netvm: Propagate page->pfmemalloc from skb_alloc_page to skb
On Tue, Jun 26, 2012 at 10:13:28PM +0200, Sebastian Andrzej Siewior wrote:
> On Fri, Jun 22, 2012 at 03:30:38PM +0100, Mel Gorman wrote:
> > drivers/net/ethernet/chelsio/cxgb4/sge.c | 2 +-
> > drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
> > drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
> > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 +-
> > drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 3 +-
> > drivers/net/usb/cdc-phonet.c | 2 +-
> > drivers/usb/gadget/f_phonet.c | 2 +-
>
> You did not touch all drivers which use alloc_page(s)() like e1000(e). Was
> this on purpose?
>

Yes. The ones I changed were the semi-obvious ones and carried over from
when the patches were completely out of tree. As the changelog notes
it is not critical that these annotation happens and can be fixed on a
per-driver basis if there are complains about network swapping being slow.

In the e1000 case, alloc_page is called from e1000_alloc_jumbo_rx_buffers
and I would not have paid quite as close attention to jumbo configurations
even though e1000 does not depend on high-order allocations like some
other drivers do. I can update e1000 if you like but it's not critical
to do so and in fact getting a bug reporting saying that network swap
was slow on e1000 would be useful to me in its own way :)

--
Mel Gorman
SUSE Labs


\
 
 \ /
  Last update: 2012-06-27 11:22    [W:0.091 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site