From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:36250 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755087AbcCaI7a (ORCPT ); Thu, 31 Mar 2016 04:59:30 -0400 Date: Thu, 31 Mar 2016 10:59:26 +0200 From: Michal Hocko Subject: Re: [PATCH 0/11] introduce down_write_killable for rw_semaphore Message-ID: <20160331085926.GB27831@dhcp22.suse.cz> References: <1456750705-7141-1-git-send-email-mhocko@kernel.org> <20160330133217.GV3408@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160330133217.GV3408@twins.programming.kicks-ass.net> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra , Andrew Morton Cc: LKML , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , "David S. Miller" , Tony Luck , Chris Zankel , Max Filippov , x86@kernel.org, linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org Message-ID: <20160331085926.48ZZ42E-xj9tJ_km_uKe5LRLt5KPdnHtd2O_PEZiRII@z> On Wed 30-03-16 15:32:17, Peter Zijlstra wrote: > On Mon, Feb 29, 2016 at 01:58:14PM +0100, Michal Hocko wrote: > > I have tested on x86 with OOM situations with high mmap_sem contention > > (basically many parallel page faults racing with many parallel mmap/munmap > > tight loops) so the waiters for the write locks are routinely interrupted > > by SIGKILL. > > Aside from the one niggle (as per the other email) they look good to me > and I would take them through the tip/locking tree. Thanks for the review! I understand that tip/locking would be the most appropriate place but I am wondering whether this causes some issues with the follow up patches which use this new API and which I expect to go via Andrew's tree. That being said I do not care much but then we have a potential dependency between mmotm and tip/locking. -- Michal Hocko SUSE Labs