Re: do_generic_mapping_read performance issue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, March 12, 2007 - 7:39 am

On Mon, Mar 12, 2007 at 03:20:12PM +0100, Jan Kara wrote:

Did it always use ra->prev_page? ISTR it using pos%PAGE_SIZE == 0 at some
stage (ie. read from the start of a page -- obviously that also has holes).


Yeah it is there because that is basically how our "use once" detection
handles the case where an app does not read in chunks that are PAGE_SIZE
multiples and PAGE_SIZE aligned.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
do_generic_mapping_read performance issue, Ashif Harji, (Fri Mar 9, 3:03 pm)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 7:20 am)
Re: do_generic_mapping_read performance issue, Nick Piggin, (Mon Mar 12, 7:39 am)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 8:13 am)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Mon Mar 12, 9:46 am)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Mon Mar 12, 10:05 am)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 10:35 am)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Tue Mar 13, 11:43 am)
Re: do_generic_mapping_read performance issue, Jan Kara, (Tue Mar 13, 11:55 am)
Re: [PATCH] mm/filemap.c: unconditionally call mark_page_a ..., Valdis.Kletnieks, (Thu Mar 15, 10:37 am)