Re: 2.6.26: [<c0133cc1>] __alloc_pages_internal+0x331/0x343

From: Herbert Xu
Date: Thu Jul 24 2008 - 09:06:57 EST


David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: "Marco Berizzi" <pupilla@xxxxxxxxxxx>
> Date: Thu, 24 Jul 2008 08:39:48 +0200
>
>> Jul 23 12:40:02 Electra kernel: crond: page allocation failure. order:5,
>> mode:0x4020
>> Jul 23 12:40:02 Electra kernel: Pid: 586, comm: crond Not tainted 2.6.26
>> #1
>> Jul 23 12:40:02 Electra kernel: [<c0135e93>]
>> __alloc_pages_internal+0x226/0x393
>> Jul 23 12:40:02 Electra kernel: [<c0136007>] __alloc_pages+0x7/0x9
>> Jul 23 12:40:02 Electra kernel: [<c013602a>] __get_free_pages+0x16/0x32
>> Jul 23 12:40:03 Electra kernel: [<c024d2a5>]
>> pskb_expand_head+0x41/0x164
>> Jul 23 12:40:03 Electra kernel: [<c029a6b4>]
>> ipcomp_decompress+0x60/0xa1
>
> ipcomp_decompress() should probably be changed to try and build
> a scatterlist of pages for the resulting packet SKB data instead
> of building a linear buffer as it does now.

Indeed, this is long overdue. I'm going to spend a few cycles on
this. I'll start by moving the common code into net/xfrm/ipcomp.c
so that I don't have to do it twice later.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/