From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753906AbbCJQRD (ORCPT ); Tue, 10 Mar 2015 12:17:03 -0400 Received: from casper.infradead.org ([85.118.1.10]:39060 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753882AbbCJQQu (ORCPT ); Tue, 10 Mar 2015 12:16:50 -0400 Date: Tue, 10 Mar 2015 17:16:37 +0100 From: Peter Zijlstra To: Linus Torvalds Cc: Oleg Nesterov , "linux-tip-commits@vger.kernel.org" , Davidlohr Bueso , Peter Anvin , Sasha Levin , Thomas Gleixner , Linux Kernel Mailing List , Jason Low , Michel Lespinasse , Andrew Morton , Ingo Molnar , Paul McKenney , Dave Jones , Ming Lei , Tim Chen Subject: Re: [tip:locking/core] locking/rwsem: Fix lock optimistic spinning when owner is not running Message-ID: <20150310161637.GG2896@worktop.programming.kicks-ass.net> References: <1425714331.2475.388.camel@j-VirtualBox> <20150307171347.GA30365@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2015 at 09:04:23AM -0700, Linus Torvalds wrote: > > I think we should just make 'task_struct_cachep' have SLAB_DESTROY_BY_RCU. Yes, that'll work. Also for the other cases Oleg found previously I think.