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

From: Michael Guntsche
Date: Fri Jun 04 2010 - 12:16:14 EST


On 2010.06.04 14:53:34 , Eric Dumazet wrote:
> order-1 allocations are unfortunate, since this hardware should use
> order-0 ones if possible, and it seems it was its goal.
>
> 3872 (0xF20) comes from
<snip>
>
> 1) Maybe rx_bufsize should not include the roundup() since
> ath_rxbuf_alloc() also do an alignment adjustment ?
>
> 2) We should try to reduce skb_shared_info by four bytes.
>
> Could you try this patch ?
>
>
> We make sure rx_bufsize + various overhead <= PAGE_SIZE
> But I am not sure its legal for the hardware...

I applied the patch recompiled and run it on the routerboard, trying
to trigger the bug again.

Kind regards,
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/