From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 0/11] introduce down_write_killable for rw_semaphore Date: Thu, 31 Mar 2016 11:20:05 +0200 Message-ID: <20160331092005.GA18640@gmail.com> References: <1456750705-7141-1-git-send-email-mhocko@kernel.org> <20160330133217.GV3408@twins.programming.kicks-ass.net> <20160331085926.GB27831@dhcp22.suse.cz> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SjlYxXdbVAAcuQRqszMShjcwSxedVSkjFej7stznkWg=; b=qGqeE1F1zB9pi+Itf7VDB6YjG63RmlyM4lV/Lc1h2AHpJKh9RQfwjMQxPEUbEBBSjl j1pbUE6TXvT2yUyI8AhAmEqisWAfZDc7hYsPSyihDVxAZly4ATP3QD9BvORGqidPKJyp De6jZWqDPj15TnspA9fYT2KuMPupHt+4m6ND8vIh6KKUs8PhwI05L0e61izWAfJNjtl5 x0ON5ooDY0tjq9JgsPov/YsClsCbV/7nBS/iV/4yHDL5Zb5KkcbNzmHk+PF2wrlN3RNB 4dD4kZhRNLuXF6AvYvhIm8QIVPjibTnhHlt21yxXMT0Bi0FKuz2CBDMAZKQo/UiitDFE MkAA== Content-Disposition: inline In-Reply-To: <20160331085926.GB27831@dhcp22.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michal Hocko Cc: Peter Zijlstra , Andrew Morton , 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 * Michal Hocko wrote: > 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 [...] Yes. > [...] 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. So AFAIK Andrew's tree is based on top of linux-next, so once it goes into tip:locking/core, -mm can pick it up as well 1-2 days later. Please send the changes in isolation, for merge into the locking tree. Thanks, Ingo