linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] reduce readahead overheads on tmpfs mmap page faults
@ 2011-04-26  9:43 Wu Fengguang
  2011-04-26  9:43 ` [PATCH 1/3] readahead: return early when readahead is disabled Wu Fengguang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wu Fengguang @ 2011-04-26  9:43 UTC (permalink / raw)
  To: Andrew Morton, Andi Kleen
  Cc: Tim Chen, Li Shaohua, Wu Fengguang, LKML,
	Linux Memory Management List

Andrew,

This kills unnessesary ra->mmap_miss and ra->prev_pos updates on every page
fault when the readahead is disabled.

They fix the cache line bouncing problem in the mosbench exim benchmark, which
does multi-threaded page faults on shared struct file on tmpfs.

Thanks,
Fengguang


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/3] reduce readahead overheads on tmpfs mmap page faults v2
@ 2011-04-30  3:22 Wu Fengguang
  2011-04-30  3:22 ` [PATCH 2/3] readahead: reduce unnecessary mmap_miss increases Wu Fengguang
  0 siblings, 1 reply; 6+ messages in thread
From: Wu Fengguang @ 2011-04-30  3:22 UTC (permalink / raw)
  To: Andrew Morton, Andi Kleen
  Cc: Tim Chen, Li Shaohua, Wu Fengguang, LKML,
	Linux Memory Management List

Andrew,

I would like to update the changelogs for patches 2 and 3.
There are no changes to the code. Sorry for the inconvenience.

The original changelog is not accurate: it's solely the ra->mmap_miss updates
that caused cache line bouncing on tmpfs. ra->prev_pos won't be updated at all
on tmpfs.

Thanks,
Fengguang


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-30  3:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26  9:43 [PATCH 0/3] reduce readahead overheads on tmpfs mmap page faults Wu Fengguang
2011-04-26  9:43 ` [PATCH 1/3] readahead: return early when readahead is disabled Wu Fengguang
2011-04-26  9:43 ` [PATCH 2/3] readahead: reduce unnecessary mmap_miss increases Wu Fengguang
2011-04-26  9:43 ` [PATCH 3/3] readahead: trigger mmap sequential readahead on PG_readahead Wu Fengguang
2011-04-26 14:36   ` [PATCH 3/3 with new changelog] " Wu Fengguang
  -- strict thread matches above, loose matches on Subject: below --
2011-04-30  3:22 [PATCH 0/3] reduce readahead overheads on tmpfs mmap page faults v2 Wu Fengguang
2011-04-30  3:22 ` [PATCH 2/3] readahead: reduce unnecessary mmap_miss increases Wu Fengguang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).