| To: | David Woodhouse <dwmw2@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: | Thu, 19 May 2005 07:29:47 +1000 |
| Cc: | Linux Audit Discussion <linux-audit@xxxxxxxxxx>, netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <1116438756.25594.76.camel@localhost.localdomain> |
| References: | <200505171624.j4HGOQwo017312@turing-police.cc.vt.edu> <20050517165528.GB27549@shell0.pdx.osdl.net> <1116349464.23972.118.camel@hades.cambridge.redhat.com> <20050517174300.GE27549@shell0.pdx.osdl.net> <20050518083002.GA30689@gondor.apana.org.au> <20050518170033.GT27549@shell0.pdx.osdl.net> <1116438756.25594.76.camel@localhost.localdomain> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Wed, May 18, 2005 at 06:52:35PM +0100, David Woodhouse wrote: > > I've reverted your recent change to put audit messages directly into > skbs "in order to eliminate the extra copy", on the basis that it > blatantly wasn't having that effect anyway. Now we copy from the > audit_buffer into an optimally-sized skb which netlink_trim() won't have > to mangle. I've also removed the skb_get() immediately before > netlink_send() which always made me unhappy. Even if the audit code is never going to call netlink_unicast with spin locks held, we simply cannot assume that for all current and future users of netlink_unicast. As a consequence we can't use gfp_any() in netlink_unicast. 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, Andrew Morton |
|---|---|
| Next by Date: | Re: [RFC/PATCH] "strict" ipv4 reassembly, Herbert Xu |
| Previous by Thread: | Re: 2.6.12-rc4-mm2 - sleeping function called from invalid context at mm/slab.c:2502, David Woodhouse |
| Next by Thread: | [patch 2.6.12-rc4 1/1] tulip: add return to ULI526X clause in tulip_mdio_write, John W. Linville |
| Indexes: | [Date] [Thread] [Top] [All Lists] |