Re: Linux-2.5.16

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon May 20 2002 - 12:57:39 EST


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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:19 EST