Thread (35 messages) 35 messages, 7 authors, 2012-05-18

Re: [patch 2/5] mm + fs: prepare for non-page entries in page cache

From: Rik van Riel <hidden>
Date: 2012-05-01 21:14:57
Also in: linux-fsdevel, lkml

On 05/01/2012 04:24 PM, Andrew Morton wrote:
That's a pretty significant alteration in the meaning of ->nrpages.
Did this not have any other effects?
 From what I see (though it's been a long day), ->nrpages
stays the same it is now.

The non-page entries are simply not counted in ->nrpages.
What does truncate do?  I assume it invalidates shadow page entries in
the radix tree?  And frees the radix-tree nodes?
Indeed, truncate will get rid of the non-page entries
in the radix tree.  That is why it needs to be called
even if ->nrpages==0.

-- 
All rights reversed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help