Re: locked page handling

Andrew Morton (akpm@zip.com.au)
Mon, 31 Dec 2001 11:49:05 -0800


Andrew Morton wrote:
>
> alad@hss.hns.com wrote:
> >
> > ...
> > 1) Who is moving the page the back of list ?
>
> Nobody. The comment is wrong.
>

Sorry. The page has *already* at the back of the list. It's the very
first thing that happens:

list_del(entry);
list_add(entry, &inactive_list);

So the comment should read "Leave it at the back of the inactive list".

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