From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx172.postini.com [74.125.245.172]) by kanga.kvack.org (Postfix) with SMTP id AFBD86B005A for ; Wed, 27 Jun 2012 02:44:59 -0400 (EDT) Date: Tue, 26 Jun 2012 23:46:03 -0700 From: Andrew Morton Subject: Re: needed lru_add_drain_all() change Message-Id: <20120626234603.779f5cbb.akpm@linux-foundation.org> In-Reply-To: <4FEAA925.9020202@kernel.org> References: <20120626143703.396d6d66.akpm@linux-foundation.org> <4FEA59EE.8060804@kernel.org> <20120626181504.23b8b73d.akpm@linux-foundation.org> <4FEA6B5B.5000205@kernel.org> <20120626221217.1682572a.akpm@linux-foundation.org> <4FEA9D13.6070409@kernel.org> <20120626225544.068df1b9.akpm@linux-foundation.org> <4FEAA925.9020202@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: linux-mm@kvack.org, KOSAKI Motohiro , Peter Zijlstra btw, the first step should be to audit all lru_add_drain_all() sites and work out exactly why they are calling lru_add_drain_all() - what are they trying to achive? Because we may be able to use a more lightweight approach there, or handle the asynchronous behaviour in a more graceful fashion, rather than forcing this massive synchronization barrier. -- 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