Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F89FC6379F for ; Tue, 7 Feb 2023 12:59:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231941AbjBGM7H (ORCPT ); Tue, 7 Feb 2023 07:59:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231713AbjBGM7E (ORCPT ); Tue, 7 Feb 2023 07:59:04 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8653D1B56D; Tue, 7 Feb 2023 04:59:03 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 1E96738DC1; Tue, 7 Feb 2023 12:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1675774742; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7QoTLoXlIMxSw37JX85ExzUtBnHWAzOyLQ2c0uIpTLM=; b=IgskfTMKEaO1jmC/N1nUWksgS2w7L8hHtYNz/l/0AgYHAEeL8SvjUTb1X8N2aT+oc21fQK uVxDNfqkoggQQalEcTuNbwT7BnJg3edJ2qvl5KTiMunxb80wXQkiLAlWEaNbjCA56AE9lC dWFgdQMn5ORKYrhQw9DZoNFkuARlRtw= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BCE7513467; Tue, 7 Feb 2023 12:59:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sMA0LRVL4mMdZQAAMHmgww (envelope-from ); Tue, 07 Feb 2023 12:59:01 +0000 Date: Tue, 7 Feb 2023 13:59:00 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Frederic Weisbecker Cc: LKML , Waiman Long , Roman Gushchin , Michal Hocko , Marcelo Tosatti , Leonardo , Johannes Weiner , Shakeel Butt , Muchun Song , Andrew Morton , Peter Zijlstra , Thomas Gleixner , cgroups@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 1/2] sched/isolation: Merge individual nohz_full features into a common housekeeping flag Message-ID: <20230207125900.GA24523@blackbody.suse.cz> References: <20230203232409.163847-1-frederic@kernel.org> <20230203232409.163847-2-frederic@kernel.org> <20230206155107.GA31453@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 07, 2023 at 12:49:41PM +0100, Frederic Weisbecker wrote: > But what do we need these annotations for? The only outcome I've ever > seen with these is that it confuses everyone. Take that as a note of a lone actor then who found it useful documenting relations between various parts of the code. > This way I can add the support for each part smoothly. Yeah, that makes sense. > For example first patch moves HK_TYPE_TIMER to HK_TYPE_KERNEL_NOISE > and unbound timers are supported by cpuset.kernel_noise, second patch > moves HK_TYPE_WQ to HK_TYPE_KERNEL_NOISE and unbound workqueues are > supported by cpuset.kernel_noise, etc until all of them turned by > nohz_full= are supported... So does this mean you'll re-introduce the finer grained HK_* flags again? The idea (not only mine?) is that this would extend cpuset.cpus.partition that only allows HK_TYPE_DOMAIN analogy. The mapping to individual flags may not be exposed to users. The graduality could be achieved by adding more flags under user_exposed_term. Just to be on the same page -- that's how I understand it, the original HK_* resolution turned out impractical for users and that's why the direction is towards some loose combinations representing user intentions. Is that right? Cheers, Michal --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iHQEARYIAB0WIQTrXXag4J0QvXXBmkMkDQmsBEOquQUCY+JLBQAKCRAkDQmsBEOq udOKAPdJq+O7uJgDbO4QNyCO7NcKnOeMid700809Y9NpPfptAP94KF/OZau1bPKP nGKv3/uKXc7NKO/TqZ2HmKeGpdNzDg== =vDYK -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--