From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx181.postini.com [74.125.245.181]) by kanga.kvack.org (Postfix) with SMTP id D25426B0032 for ; Tue, 23 Jul 2013 12:17:30 -0400 (EDT) Received: by mail-gg0-f174.google.com with SMTP id y3so2339725ggc.5 for ; Tue, 23 Jul 2013 09:17:29 -0700 (PDT) Date: Tue, 23 Jul 2013 12:17:24 -0400 From: Tejun Heo Subject: Re: [PATCH resend 1/3] vmpressure: change vmpressure::sr_lock to spinlock Message-ID: <20130723161724.GA21100@mtj.dyndns.org> References: <1374252671-11939-1-git-send-email-mhocko@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1374252671-11939-1-git-send-email-mhocko@suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , Anton Vorontsov , Johannes Weiner , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Li Zefan , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Hello, Michal. Sorry about the delay. Was on the road. On Fri, Jul 19, 2013 at 06:51:09PM +0200, Michal Hocko wrote: > There is nothing that can sleep inside critical sections protected by > this lock and those sections are really small so there doesn't make much > sense to use mutex for them. Change the log to a spinlock > > Brought-up-by: Tejun Heo > Signed-off-by: Michal Hocko Reviewed-by: Tejun Heo Thanks. -- tejun -- 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