Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andreas Mohr <andi@...>
Cc: Dave Kleikamp <shaggy@...>, Ashif Harji <asharji@...>, <linux-mm@...>, Nick Piggin <npiggin@...>, Jan Kara <jack@...>, <linux-kernel@...>, <akpm@...>
Date: Thursday, March 15, 2007 - 1:37 pm

On Wed, 14 Mar 2007 22:33:17 BST, Andreas Mohr said:

)

What if you did something like

	if (jiffies%32) {...

(Possibly scaling it so the low-order bits change).  No need to lock it, as
"right most of the time" is close enough.
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, 6:03 pm)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 10:20 am)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Mon Mar 12, 12:46 pm)
Re: do_generic_mapping_read performance issue, Nick Piggin, (Mon Mar 12, 10:39 am)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 11:13 am)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Mon Mar 12, 1:05 pm)
Re: do_generic_mapping_read performance issue, Jan Kara, (Mon Mar 12, 1:35 pm)
Re: do_generic_mapping_read performance issue, Ashif Harji, (Tue Mar 13, 2:43 pm)
Re: do_generic_mapping_read performance issue, Jan Kara, (Tue Mar 13, 2:55 pm)
Re: [PATCH] mm/filemap.c: unconditionally call mark_page_acc..., , (Thu Mar 15, 1:37 pm)