From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 15 Sep 2004 16:18:19 +0200 From: =?iso-8859-1?Q?J=F6rn?= Engel Subject: Re: [RFC][PATCH 0/3] beat kswapd with the proverbial clue-bat Message-ID: <20040915141819.GC6158@wohnheim.fh-wedel.de> References: <20040904230210.03fe3c11.davem@davemloft.net> <413AAF49.5070600@yahoo.com.au> <413AE6E7.5070103@yahoo.com.au> <1094405830.2809.8.camel@laptop.fenrus.com> <20040915132712.GA6158@wohnheim.fh-wedel.de> <20040915132904.GA30530@devserv.devel.redhat.com> <20040915133408.GB6158@wohnheim.fh-wedel.de> <20040915133939.GC30530@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040915133939.GC30530@devserv.devel.redhat.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Arjan van de Ven Cc: Linus Torvalds , Nick Piggin , "David S. Miller" , akpm@osdl.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, 15 September 2004 15:39:39 +0200, Arjan van de Ven wrote: > > if your page is made unfreeable for the vm, for example by virtue of not > being on the LRU or having an elevated count or.. or .. then such a page is > pinned. > > if your page is freeable byt he VM and your device is dmaing from/to it you > have a really bad bug Agreed. skb->data should be safe as long as kfree_skb isn't called [1]. Thanks for the education. [1] Actually, that does cause a really bad bug, but completely unrelated to memory management. kfree_skb does more than the name indicates. Patches will follow... Jorn -- Everything should be made as simple as possible, but not simpler. -- Albert Einstein -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org