From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mel Gorman To: Andrew Morton Cc: Hugh Dickins , Jan Kara , Linux-FSDevel , Linux-MM , LKML , Mel Gorman Subject: [PATCH 0/2] Avoid unnecessary page locks in the generic read path Date: Mon, 25 Jan 2016 10:03:22 +0000 Message-Id: <1453716204-20409-1-git-send-email-mgorman@techsingularity.net> Sender: owner-linux-mm@kvack.org List-ID: 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org