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

Hugh Dickins
2004-04-02T10:55:44Z

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