Re: locked page handling

From: alad@hss.hns.com
Date: Tue Jan 01 2002 - 23:58:29 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:16 EST