Re: [RFC][PATCH 0/3] beat kswapd with the proverbial clue-bat

From: Jörn Engel
Date: Wed Sep 15 2004 - 09:27:53 EST


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...

Jörn

--
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-
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/