Thread (39 messages) 39 messages, 6 authors, 2021-12-03

Re: [PATCH v8 0/6] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus

From: Jan Kiszka <hidden>
Date: 2021-11-10 18:29:16
Also in: linux-doc, linux-kselftest, lkml

On 10.11.21 18:52, Michal Koutný wrote:
On Wed, Nov 10, 2021 at 05:15:41PM +0100, Jan Kiszka [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help