Re: About get_page for compound page

From: Peter Zijlstra
Date: Thu Jul 19 2007 - 17:39:43 EST


On Thu, 2007-07-19 at 23:54 +0800, Fengwei Yin wrote:
> Hi,
> In get_page(), the parameter page is changed by
> page = compound_head(page);
> if the page is not the first page of compound pages.
>
> My question: is this behavior correct?

Yes it is, in general the page state of a compound page is kept in the
first page of the set.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/