Re: [RFC][PATCH 1/3] radix priority search tree - objrmap complexity fix

From: Hugh Dickins
Date: Fri Apr 02 2004 - 05:58:45 EST


On Fri, 2 Apr 2004, Marc-Christian Petersen wrote:
>
> dunno if the below is causing your trouble, but is that intentional that
> page_cache_release(page) is called twice?

It's not pretty, but it is intentional and correct:
the first to balance the page_cache_get higher up (well commented),
the second because add_to_page_cache does a page_cache_get but
remove_from_page_cache does not do the corresponding page_cache_release.

Christoph's problems will be somewhere in Andrea's compound page changes.

Hugh

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