Re: locked page handling

alad@hss.hns.com
Wed, 2 Jan 2002 10:28:29 +0530


Andrew Morton <akpm@zip.com.au> on 01/01/2002 01:19:05 AM

To: Amol Lad/HSS@HSS, linux-kernel@vger.kernel.org
cc:

Subject: Re: locked page handling

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".

>>>>> well....list_add() moves the page to the beginning of 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/