Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316405

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

From Mel Gorman <mgorman@techsingularity.net>
Newsgroups linux.kernel
Subject [PATCH 0/2] Avoid unnecessary page locks in the generic read path
Date 2016-01-25 11:10 +0100
Message-ID <qUMfV-2lm-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

-- 
2.6.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Avoid unnecessary page locks in the generic read path Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 11:10 +0100
  [PATCH 2/2] mm: filemap: Avoid unnecessary calls to lock_page when waiting for IO to complete during a read Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 11:10 +0100
    Re: [PATCH 2/2] mm: filemap: Avoid unnecessary calls to lock_page  when waiting for IO to complete during a read Jan Kara <jack@suse.cz> - 2016-01-25 12:40 +0100
      Re: [PATCH 2/2] mm: filemap: Avoid unnecessary calls to lock_page  when waiting for IO to complete during a read Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 15:10 +0100

csiph-web