Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752149AbbBVKhR (ORCPT ); Sun, 22 Feb 2015 05:37:17 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:58472 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751805AbbBVKhO (ORCPT ); Sun, 22 Feb 2015 05:37:14 -0500 Date: Sun, 22 Feb 2015 11:37:09 +0100 From: Ingo Molnar To: Daniel J Blueman Cc: Linus Torvalds , Rafael David Tinoco , Peter Anvin , Jiang Liu , Peter Zijlstra , LKML , Jens Axboe , Frederic Weisbecker , Gema Gomez , Christopher Arges , the arch/x86 maintainers Subject: Re: smp_call_function_single lockups Message-ID: <20150222103709.GA24818@gmail.com> References: <54E99A8F.1080803@numascale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54E99A8F.1080803@numascale.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 30 * Daniel J Blueman wrote: > The Intel SDM [1] and AMD F15h BKDG [2] state that IPIs > are queued, so the wait_icr_idle() polling is only > necessary on PPro and older, and maybe then to avoid > delivery retry. This unnecessarily ties up the IPI > caller, so we bypass the polling in the Numachip APIC > driver IPI-to-self path. It would be nice to propagate this back to the generic x86 code. > On Linus's earlier point, with the large core counts on > Numascale systems, I previously implemented a shortcut to > allow single IPIs to bypass all the cpumask generation > and walking; it's way down on my list, but I'll see if I > can generalise and present a patch series at some point > if interested? I am definitely interested! Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/