Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752271AbcDRRzj (ORCPT ); Mon, 18 Apr 2016 13:55:39 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36171 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbcDRRzh (ORCPT ); Mon, 18 Apr 2016 13:55:37 -0400 Message-ID: <1461002132.3895.59.camel@gmail.com> Subject: Re: [PATCH RT 4/6] rt/locking: Reenable migration accross schedule From: Mike Galbraith To: Sebastian Andrzej Siewior Cc: Thomas Gleixner , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Peter Zijlstra Date: Mon, 18 Apr 2016 19:55:32 +0200 In-Reply-To: <20160418171550.GA21734@linutronix.de> References: <1459405903.14336.64.camel@gmail.com> <20160401211105.GE29603@linutronix.de> <1459566735.3779.36.camel@gmail.com> <57068F28.8010409@linutronix.de> <1460123044.16946.11.camel@gmail.com> <5707B911.6090404@linutronix.de> <1460125010.16946.27.camel@gmail.com> <5707C563.2050801@linutronix.de> <1460134168.3860.6.camel@gmail.com> <20160418171550.GA21734@linutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 16 On Mon, 2016-04-18 at 19:15 +0200, Sebastian Andrzej Siewior wrote: > take 2. There is this else case in pin_current_cpu() where I take > hp_lock. I didn't manage to get in there. So I *think* we can get rid of > the lock now. Since there is no lock (or will be) we can drop the whole > `do_mig_dis' checking and do the migrate_disable() _after_ we obtained > the lock. We were not able to do so due to the lock hp_lock. > > And with this, I didn't manage to triger the lockup you had with > futextest. I'll have to feed it to DL980, hotplug and jitter test it. It seemed to think that pinning post acquisition was a bad idea jitter wise, but I was bending things up while juggling multiple boxen, so.. -Mike