Re: [PATCH 2.5.66-mm2] Fix page_convert_anon locking issues
Hugh Dickins (hugh@veritas.com)
Thu, 3 Apr 2003 01:06:16 +0100 (BST)
On Wed, 2 Apr 2003, Dave McCracken wrote:
> --On Wednesday, April 02, 2003 15:09:03 -0800 Andrew Morton
> <akpm@digeo.com> wrote:
> >
> > How about setting PageAnon at the _start_ of the operation?
> > page_remove_rmap() will cope with that OK.
>
> Hmm... I was gonna say that page_remove_rmap will BUG() if it doesn't find
> the entry, but it's only under DEBUG and could easily be changed. Lemme
> think on this one a bit. I need to assure myself it's safe to go unlocked
> in the middle.
Yes, it's an interesting idea, but by no means clear it's safe.
I'll think about it too, but sorry, no more tonight.
Hugh
-
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/