Skip to content

Avoid unnecessary page locks in the generic read path v2r1

Mel Gorman linux-fsdevel linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Changelog since V1 from the cover letter

o Use lock_page_killable consistently do_generic_file_read (jan)

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: filemap: Remove redundant code in do_read_cache_pagemm/filemap.c+12 -310 replies
2/2mm: filemap: Avoid unnecessary calls to lock_page when waiting for IO to complete during a readmm/filemap.c+49 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Avoid unnecessary page locks in the generic read path v2r1

Changelog since V1
o Use lock_page_killable consistently do_generic_file_read (jan)

A long time ago there was an attempt to merge a patch that reduced the cost of unlock_page by avoiding the page_waitqueue lookup if there were no waiters. It was rejected on the grounds of complexity but it was pointed out that the read paths call lock_page unnecessarily. This series reduces the number of calls to lock_page when multiple processes read data in at the same time.

 mm/filemap.c | 90 ++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 60 insertions(+), 30 deletions(-)
Signature · 7 lines
2.6.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>