Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4968314ybl; Wed, 22 Jan 2020 07:57:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwyITsSSAvLHGdVnFwQk0ZlzzxtVpVlTHxbnPYTUZ7oSvOOe1r+I4O6wSdOKKS/IaWHZKqm X-Received: by 2002:a05:6830:1f19:: with SMTP id u25mr8143043otg.170.1579708668492; Wed, 22 Jan 2020 07:57:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579708668; cv=none; d=google.com; s=arc-20160816; b=sD9r46zsNQIBXaloetBdju0uWK+587xQ/zE5i1547VUggCRcqm+mKD5yYAhID65KIY J8zNSkibuOEQDvG7O5Ica0Q/k6gmVk+orR4Kp4wDHoRwEisSS2iEuoEa8Z0OogljlUYk g1JCglVP8ruwCphE9cdw3MmYcKVzgMiyxQ9B4mKTmsFuCBcTxPSQDSyYJsbaTAiw7Zn/ nG8W/HNQ+4TnpjA2rE5YSmM+VXzaoysMaOwMKIb+VXyxmK81D4nTNkSjKY4VA0PVeTSt SRvx9H4ovyByHGisSowMjyBuJ/TdkVraZIh+xJLleYXiUjIPe4jIvvRB9eYhOib4XoHu cdJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=R4YvNeAxb3+eLRoT3iNAV5v/H9LROR+XP6+YqY0F8A0=; b=qLo+R+dgLnm2PSigzGHBXfgsMzxB88Sh4YrMbJkmhtHq3zfXiMHPsm7zgV9C78b4GO xO2qMbflOe0jLJoGDopIbjnDBAlUHPimvTP8AcAyEKr6Q1pNE2lmUMjlcxlHGl2m0OeX 1dOlZp4t1CVUxMpgz6BhlyxP6IKlUtHxkclXb0O1Smqed0CY0R0dxj0erUqYgSBBor7F UkEJo9gi2fOtflyoQD6w857Tz3V6+GH3p23AMhsHsv/fGNs8f4MZrod5diKJgNxmnSuL HrCUHDEJjN7mphnP1P+Bv7DAvqc54FwPJhEFvHC+4Y+4K+Tx/vermqLEmmJjQw4+N1Pa iDGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sVdqrKFo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si23950899otn.180.2020.01.22.07.57.34; Wed, 22 Jan 2020 07:57:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sVdqrKFo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbgAVP4i (ORCPT + 99 others); Wed, 22 Jan 2020 10:56:38 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:34729 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbgAVP4i (ORCPT ); Wed, 22 Jan 2020 10:56:38 -0500 Received: by mail-oi1-f193.google.com with SMTP id l136so6522325oig.1; Wed, 22 Jan 2020 07:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=R4YvNeAxb3+eLRoT3iNAV5v/H9LROR+XP6+YqY0F8A0=; b=sVdqrKFomB0aPeYSCV23RAlQHynJ8Zh5XM40HaNxdWx9s/kFaiywgVYg9uiA8EeyCK uifR+qxkaEvNvBTzJKm5nkOBOXL3xKtu50MxEj17aV6rdc0owS8WOv4LnE0Gi3U5yzv9 mw7hkNqEAJn5wGVwzGSI0JM8bB4uapHL/RjpBiqMFaFfUZ1nqmjR5+AI9aJcev/JpQ46 6X7/cmTP/1JcGDpWlsWFoMMs+fxJQg5PQIiFhcJQlPHgXHD27vkEbt2F1Xlb8RYWwnAj Dy4itGviB3qcHbwLv+Hr5Zo3dthpj1twcZ/KIM2zgdrIv1QkUO8aWdGzS2v2/AATuVr/ o84w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=R4YvNeAxb3+eLRoT3iNAV5v/H9LROR+XP6+YqY0F8A0=; b=RqBc+xQyJWURtMcYKX0fGWSY3A80CtIfcvA1RJdZpg07aaLccsfEiULB8F3sMwtwhN WqrajYQbDc4nHJyvjmQ0TrDFjrBdSYFQJfWTCAVOgaeCmzdS096t3Ye8A9cfLBQ9O2+/ DC8E21BV/piETiUl4yILWGkVhOJRk29jLUI4GZJnksphs+EVVTvyhKFJcAXctOEFwHpW +x15c2YxtoMf+DSg0UNaAEsPeGhiu/HJDKrloqos3Ia0RgmwRJjS3q5yhVqsuCBbZfTg YonDoq/tOOnJb79mccF4lGLR/mayEfehfApRi5f1PU0zjOPcUT07A3no9ngRdn8EXTTl bI/A== X-Gm-Message-State: APjAAAWotUPCv/OP2jifQ6m42piqNtBlxbzv7KF8LZWYVnCWl3GGcF1e ia6X62WZ/r7U3Wip+SygmV0QIQX11twTtcE7Y6Thjcc2JJ6LeA== X-Received: by 2002:a05:6808:2c4:: with SMTP id a4mr7000891oid.22.1579708097962; Wed, 22 Jan 2020 07:48:17 -0800 (PST) MIME-Version: 1.0 From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Wed, 22 Jan 2020 16:48:06 +0100 Message-ID: Subject: Re: [RFC PATCH v1] pin_on_cpu: Introduce thread CPU pinning system call To: linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello I would like to note that this does not help userspace to express dynamic scheduling relationships among processes/threads such as "do not run processes A and B on the same core" or "run processes A and B on cores sharing the same L2 cache". Sincerely Jan