[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44a28cc4-f68f-6e2c-1b0a-18b6570edc5f@siemens.com>
Date: Wed, 10 Nov 2021 19:04:36 +0100
From: Jan Kiszka <jan.kiszka@...mens.com>
To: Michal Koutný <mkoutny@...e.com>
Cc: Marcelo Tosatti <mtosatti@...hat.com>,
"Moessbauer, Felix" <felix.moessbauer@...mens.com>,
"longman@...hat.com" <longman@...hat.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"cgroups@...r.kernel.org" <cgroups@...r.kernel.org>,
"corbet@....net" <corbet@....net>,
"frederic@...nel.org" <frederic@...nel.org>,
"guro@...com" <guro@...com>,
"hannes@...xchg.org" <hannes@...xchg.org>,
"juri.lelli@...hat.com" <juri.lelli@...hat.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
"lizefan.x@...edance.com" <lizefan.x@...edance.com>,
"pauld@...hat.com" <pauld@...hat.com>,
"peterz@...radead.org" <peterz@...radead.org>,
"shuah@...nel.org" <shuah@...nel.org>,
"tj@...nel.org" <tj@...nel.org>,
"henning.schild@...mens.com" <henning.schild@...mens.com>
Subject: Re: [PATCH v8 0/6] cgroup/cpuset: Add new cpuset partition type &
empty effecitve cpus
On 10.11.21 18:52, Michal Koutný wrote:
> On Wed, Nov 10, 2021 at 05:15:41PM +0100, Jan Kiszka <jan.kiszka@...mens.com> 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). ¯\_(ツ)_/¯
>
I know what it stands for :). But I don't want to re-implement pthreads
just to have a single creation-time configurable injected. Neither would
developer of standard application, e.g. libvirt for the rt-kvm special
case while most of their use cases are fine with regular pthread APIs. I
think there is also a demand for a programming model that fits into
existing ones.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Powered by blists - more mailing lists