| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502 |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 18 May 2005 18:30:02 +1000 |
| Cc: | Linux Audit Discussion <linux-audit@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxx> |
| In-reply-to: | <20050517174300.GE27549@xxxxxxxxxxxxxxxxxxx> |
| References: | <200505171624.j4HGOQwo017312@xxxxxxxxxxxxxxxxxxxxxxx> <20050517165528.GB27549@xxxxxxxxxxxxxxxxxxx> <1116349464.23972.118.camel@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20050517174300.GE27549@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
Guys, please CC netdev on issues like this. On Tue, May 17, 2005 at 05:43:00PM +0000, Chris Wright wrote: > > This has some issues w.r.t. truesize and socket buffer space. The trim > is done to keep accounting sane, so we'd either have to trim ourselves > or take into account the change in size. And ultimately, we'd still get > trimmed by netlink, so the GFP issue is still there. Ideally, gfp_any() > would really be _any_ The trimming is completely optional. That is, if the allocation fails nothing bad will happen. So the solution is to simply use GFP_ATOMIC. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> 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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] NUMA aware allocation of transmit and receive buffers for e1000, Eric Dumazet |
|---|---|
| Next by Date: | Re: [RFC/PATCH] "strict" ipv4 reassembly, Thomas Graf |
| Previous by Thread: | [PATCH] Super TSO, David S. Miller |
| Next by Thread: | Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502, Chris Wright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |