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


Groups > linux.kernel > #1317958 > unrolled thread

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

Started byMel Gorman <mgorman@techsingularity.net>
First post2016-01-26 15:20 +0100
Last post2016-01-26 15:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] Avoid unnecessary page locks in the generic read path v2r1 Mel Gorman <mgorman@techsingularity.net> - 2016-01-26 15:20 +0100

#1317958 — [PATCH 0/2] Avoid unnecessary page locks in the generic read path v2r1

FromMel Gorman <mgorman@techsingularity.net>
Date2016-01-26 15:20 +0100
Subject[PATCH 0/2] Avoid unnecessary page locks in the generic read path v2r1
Message-ID<qVctI-5ef-33@gated-at.bofh.it>
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(-)

-- 
2.6.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web