Re: Linux-2.5.16

Linus Torvalds (torvalds@transmeta.com)
Mon, 20 May 2002 17:57:39 +0000 (UTC)


In article <Pine.LNX.4.21.0205200245381.23394-100000@serv>,
Roman Zippel <zippel@linux-m68k.org> wrote:
>On Sun, 19 May 2002, Linus Torvalds wrote:
>>
>> No, that's just a missed thing (for a while I thought I could use "nr" for
>> "freed", so I changed the code and forgot to add back the free'd).
>
>If I see it correctly, tlb_remove_page() can't be called with a swap page,
>does it make sense to use free_page_and_swap_cache()?

tlb_remove_page() cannot be called with a swap _entry_, but it
absolutely can be (and often is) called with a page that is a swap
backing store page. So it does need free_page_and_swap_cache().

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/