> > +static inline unsigned pagevec_size(struct pagevec *pvec) > +{ > + return pvec->sz; > +} > + > static inline unsigned pagevec_count(struct pagevec *pvec) > { Willy, I was expecting pagevec_size to be used in pagevec_lookup_range* where we hardcoded the pagevec's top range to look for pages as PAGEVEC_SIZE. You define pagevec_size but seems like it is not used. Or am I missing something? Thanks. Tim