Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1235893lqj; Mon, 3 Jun 2024 14:51:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfN/CblMDInnGCsJ7IsnC6nZ85pG6yOGil28UzuSt2Y0a9OKs17gH3aACYATz0qci3K6Pi6rZjVg5KORujSWNO/TR3mSr7GcBN6Y9UnQ== X-Google-Smtp-Source: AGHT+IHXzWIoCfI6jY3x6NjmeMr0PHz5k7K6aIhxCaKmg3YM4Qa7g+EzHfBvUyoRFQt+HYB/ltTA X-Received: by 2002:a05:6a21:184:b0:1a9:5e1f:8485 with SMTP id adf61e73a8af0-1b26f2052cemr11701208637.31.1717451460731; Mon, 03 Jun 2024 14:51:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717451460; cv=pass; d=google.com; s=arc-20160816; b=oIwt9tyHijxOcxUKPLZkip4pCoxHeX2Y/akkpKIXJnSG//W9ZLVOYNCdA7R44OCOmQ O0vUno65ig7RPOChsDRG0oRFevtSlGZIBEyUtHl/7ABGrGvIIhXbqfgFaUajICEdr2Ud 02zSaLwKMd8F6jAC8QJ4b4ymWl9UGpzbSjnW82G4lb/YYyUUZrlwCKjEjQ7dWNJL7T68 KR4bO2h/w41o/91uyUhH/WXthHhP28177eCgNZ2edEkY5xRNAUH6KCZ9yeIKvtavrlx+ kKuGSMktptWHIqKXWOKE22UbKg95yr8c0oZq9xMcxS5yO868FDHyYXxUkLkhkR62qKR9 qR4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T57kgai8Q6Z8hfwkjHUU937ig/KazC7cj+yJiEfO7hE=; fh=R5u18lFiCClNcqN5uYyUaev5nfkE683ziHRHr7rxFjQ=; b=cZDjZgG3RRw4ytptPWLAnyre89ePWhrE3wbZ/kcZ90QbHKFhWsj15VX6Wwe9wlKrDe AlbWNW53SnXoyFvpl+PEO5FxBW+gZH86mXuvITzNpokLBC7GM+HbjAeWIGb6PxHuZivm 4SOI4LHqnMOgga2n/TVest9QX9IcIpbxBZNXqoU4yuAB9gM2XxMjP19e6OelKqmHJ6WP X07P6RfZe8V+56OUIixi2HqkCWKUfXJ8B53eW6P0M6ZewinjVLAhu2zDpvFkatnwIQpZ gdZ7o5dWdm+hJovcH8AJrVRSwLzKJ+uBUGmnz24U60u8cPHnut2lSRPEpUHubHLI2kMU 9C8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nyTJedcN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f63233cefbsi7376715ad.36.2024.06.03.14.51.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 14:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nyTJedcN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E2EAAB25BB4 for ; Mon, 3 Jun 2024 21:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66FE412E1FF; Mon, 3 Jun 2024 21:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nyTJedcN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FA8313957B for ; Mon, 3 Jun 2024 21:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717451117; cv=none; b=rgvR2lzI9QmMxwtpBXNVrcj4k1WEF56OVo2CzvOsy1yPrDfmddu9PG0Q8vAc4CuB6yQVocVLxRQIPl2atR6fqE06Squ8u0TQ9376r6WHvTxVqMLzbTj7cvJK9hxjs4UJfQay6O/FLcLap53fCEZG67HoQlwaQi8lx1Uqe8Yb4wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717451117; c=relaxed/simple; bh=ZEwg74hF/bbOKKTVOBmAMdDaEHpa0tnTObwAd6aAfTM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rCoSgsIMrSA+zdrCMkLNNuI701S4NohVRTCJGZZo3PDCsT5vxIvi+OJQjZN/mOUpfEC9CrCqoPZGJpTPI4XttkIxrVOlONrLgBbV1VcAzPq4Hx0xUUtZ8F32LfZaAE/BStzwQCRiHR3l8iawAHZQZkfdhSo+VMujBBTZx0xaJT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nyTJedcN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C194DC2BD10; Mon, 3 Jun 2024 21:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717451117; bh=ZEwg74hF/bbOKKTVOBmAMdDaEHpa0tnTObwAd6aAfTM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nyTJedcN0wcdQlZtaglvj6tqjf3TzPs5Ln4IOYxI89P2Ely0CPFW1v8702BW5jV/1 6zJKzO+9ph+S4X/EWWKTYMhGNGMj/yYDbl0IioekiiBuSqaoOifHE+pbikLzabFDMi 12hCjVP0QyxkzVmCdPMEwWVSmG2yjyMU7AACd4vq1pguPytgEe+ZBgNXalY2vrOwjf BFikIa0hNYAv06Oq+Xh5U+wwMtTbSzmkFhj5v1ImtnFceQum+6QDHpGwELuhW4kyr1 6PeWynX3bo0wpM/IkDqxlaZNiymBX9CmRarSr6MakLR3XoEi9WwCeolL1LIG7drQ9l 2tacZY9Rhn4VQ== Date: Mon, 3 Jun 2024 23:45:14 +0200 From: Frederic Weisbecker To: Oleg Nesterov Cc: Ingo Molnar , Nicholas Piggin , Peter Zijlstra , Phil Auld , Thomas Gleixner , Chris von Recklinghausen , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tick/nohz_full: don't abuse smp_call_function_single() in tick_setup_device() Message-ID: References: <20240522151742.GA10400@redhat.com> <20240528122019.GA28794@redhat.com> <20240601140321.GA3758@redhat.com> <20240603154133.GC388@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240603154133.GC388@redhat.com> Le Mon, Jun 03, 2024 at 05:41:33PM +0200, Oleg Nesterov a ?crit : > On 06/02, Frederic Weisbecker wrote: > > > > I guess the static version above should work to remove the ifdef. And yes on top is fine. > > OK, I've sent v2. > > But again, I won't argue if you prefer to keep tick_do_timer_boot_cpu and add > WARN_ON_ONCE(tick_cpu != tick_do_timer_boot_cpu) before WRITE_ONCE(tick_do_timer_cpu). > In this case another patch makes no sense, I'll update this one. > > Just tell me what you like more. Sorry for the chaotic emails. I'm fine with the last one posted :-) Thanks.