Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nikhil Sethi (निखिल सेठी)
Date: Monday, November 8, 2010 - 10:22 am

As I said, this seems like a regression in 2.6.36 from 2.6.35 (which
is why I emailed after 2 months :) ). You mentioned earlier in the
thread that you were going to submit the patch to head, if there is a
separate bug/thread tracking that, I can send followups to that.

I believe I have the right patch:

*** 225,234 ****
  	int error = 0, i;
  	u32 size;

!
! 	common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN +
! 				     ah->caps.rx_status_len,
! 				     min(common->cachelsz, (u16)64));

  	ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize -
  				    ah->caps.rx_status_len);
--- 225,234 ----
  	int error = 0, i;
  	u32 size;

! 	size = roundup(IEEE80211_MAX_MPDU_LEN + ah->caps.rx_status_len,
!                        min(common->cachelsz, (u16)64));
!         common->rx_bufsize = min_t(u32, size,
!                                    SKB_MAX_ORDER(NET_SKB_PAD +
common->cachelsz, 0));

  	ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize -
  				    ah->caps.rx_status_len);


2010/11/8 Eric Dumazet <eric.dumazet@gmail.com>:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.35-rc1] page alloc failure order:1, mode:0x4020, Michael Guntsche, (Fri Jun 4, 2:20 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Michael Guntsche, (Fri Jun 4, 9:16 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Michael Guntsche, (Sun Jun 6, 2:56 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Nikhil Sethi (नि ..., (Wed Aug 25, 1:25 pm)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Nikhil Sethi (नि ..., (Thu Aug 26, 10:53 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Nikhil Sethi (नि ..., (Sun Sep 5, 8:57 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Nikhil Sethi (नि ..., (Mon Nov 8, 9:25 am)
Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020, Nikhil Sethi (नि ..., (Mon Nov 8, 10:22 am)