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

Jörn Engel
2004-09-15T14:18:19Z

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