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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19037C4332F for ; Wed, 10 Nov 2021 17:52:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F315761159 for ; Wed, 10 Nov 2021 17:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232570AbhKJRyx (ORCPT ); Wed, 10 Nov 2021 12:54:53 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:37358 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232091AbhKJRyw (ORCPT ); Wed, 10 Nov 2021 12:54:52 -0500 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-out2.suse.de (Postfix) with ESMTPS id 53FC31FDC1; Wed, 10 Nov 2021 17:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1636566723; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KvAGaaEk28BI3M4YLWXsJxHLc6pSST1USyqVE8D7V0U=; b=dy+BELMi2a26LP+9/WoG7sygm2jQaK0aPhymhLAFozDgSa+Om7lHTdxBL3zlvpx5ad173n sizdEvd6MbtzonKUrDJib73uc0TRbxg0+HaMJZh1oiVVnGxDBJh8zp1iolsBx61zKTwd6p zZpBowSmOeBbvUhfLAawN85O+V7o5zQ= 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 16D6313C7D; Wed, 10 Nov 2021 17:52:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iYcEBcMGjGGVLwAAMHmgww (envelope-from ); Wed, 10 Nov 2021 17:52:03 +0000 Date: Wed, 10 Nov 2021 18:52:01 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Jan Kiszka Cc: Marcelo Tosatti , "Moessbauer, Felix" , "longman@redhat.com" , "akpm@linux-foundation.org" , "cgroups@vger.kernel.org" , "corbet@lwn.net" , "frederic@kernel.org" , "guro@fb.com" , "hannes@cmpxchg.org" , "juri.lelli@redhat.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-kselftest@vger.kernel.org" , "lizefan.x@bytedance.com" , "pauld@redhat.com" , "peterz@infradead.org" , "shuah@kernel.org" , "tj@kernel.org" , "henning.schild@siemens.com" Subject: Re: [PATCH v8 0/6] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus Message-ID: <20211110175201.GA51149@blackbody.suse.cz> References: <20211018143619.205065-1-longman@redhat.com> <20211110111357.17617-1-felix.moessbauer@siemens.com> <20211110135653.GD20566@blackbody.suse.cz> <20211110161020.GA20101@fuller.cnet> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 10, 2021 at 05:15:41PM +0100, Jan Kiszka wrote: > Is there pthread_attr_setcgroup_np()? If I'm not mistaken the 'p' in pthreads stands for POSIX and cgroups are Linux specific so you won't find that (unless you implement that yourself). ¯\_(ツ)_/¯ Michal