Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753689AbdLDJIG (ORCPT ); Mon, 4 Dec 2017 04:08:06 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38181 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753453AbdLDJID (ORCPT ); Mon, 4 Dec 2017 04:08:03 -0500 X-Google-Smtp-Source: AGs4zMaLiOPKKPkoIzAEhNWajKpDMAg+fHOqPTHS7wOLLLZ06UhJdaL3v7B9NrpWhaxqwOk11xn9sw== Date: Mon, 4 Dec 2017 10:07:57 +0100 From: Juri Lelli To: Steven Rostedt Cc: LKML , linux-rt-users , Ingo Molnar , Peter Zijlstra , Sebastian Andrzej Siewior , Daniel Wagner , Thomas Gleixner Subject: Re: [PATCH] sched/rt: Do not pull from current CPU if only one cpu to pull Message-ID: <20171204090757.GB26712@localhost.localdomain> References: <20171202130454.4cbbfe8d@vmware.local.home> <20171204074517.GA26712@localhost.localdomain> <20171204030916.0cf09b0f@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171204030916.0cf09b0f@vmware.local.home> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 454 Lines: 16 On 04/12/17 03:09, Steven Rostedt wrote: > On Mon, 4 Dec 2017 08:45:17 +0100 > Juri Lelli wrote: > > > Right. I was wondering however if for the truly UP case we shouldn't be > > initiating/queueing callbacks (pull/push) at all? > > If !CONFIG_SMP then it's not compiled in. The issue came up when Daniel > ran a CONFIG_SMP kernel on an arch that only supports UP. > Right, sorry. I meant num_online_cpus() == 1. Best, Juri