From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EB13C4361B for ; Fri, 11 Dec 2020 23:31:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 10D9C2333C for ; Fri, 11 Dec 2020 23:31:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406999AbgLKWmr (ORCPT ); Fri, 11 Dec 2020 17:42:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:57910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392934AbgLKWlo (ORCPT ); Fri, 11 Dec 2020 17:41:44 -0500 Date: Fri, 11 Dec 2020 23:41:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607726463; bh=BqiSlCMhW6D10vLxSqKUZ7dy3jsuGe6zTZ1PwtYr8B8=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=P/xE9AdP+Mb2TH9ebdCm1iaHbDHNVg8MuIWPLiaQT61pyzc/+Rx7fsyth2npAB5Qa iBRzC1RuULEztMw/EC4/xhg7pMMjYqMtgFmoKKurVCbj2wvffUjDZTo3l5/aewmpEY rnayrvBTSCJkm+LrzNB5xo47igs4PMe9ra3LfsVb52N8lBr7dKQ9S7ptaMpzfdbTqP X7fV/WHDsIVrbAGoJb3tPD+CrJ9WSKvquoQDPfH6RLimDPuj2n3TLLVHsh83Lx04Gp O+tvUlpQ4BxV+B70ipHGnpxKj5jwxDqVwZP9t380/mSWwKWh0Q5G9sLeHwWTFOoDLv b7tkkYugi2SJQ== From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , Marco Elver , kasan-dev , Peter Zijlstra , "Paul E. McKenney" , Ingo Molnar , Will Deacon , Naresh Kamboju Subject: Re: [patch 2/3] tick/sched: Remove bogus boot "safety" check Message-ID: <20201211224101.GD595642@lothringen> References: <20201206211253.919834182@linutronix.de> <20201206212002.725238293@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201206212002.725238293@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 06, 2020 at 10:12:55PM +0100, Thomas Gleixner wrote: > can_stop_idle_tick() checks whether the do_timer() duty has been taken over > by a CPU on boot. That's silly because the boot CPU always takes over with > the initial clockevent device. > > But even if no CPU would have installed a clockevent and taken over the > duty then the question whether the tick on the current CPU can be stopped > or not is moot. In that case the current CPU would have no clockevent > either, so there would be nothing to keep ticking. > > Remove it. > > Signed-off-by: Thomas Gleixner Acked-by: Frederic Weisbecker Thanks!