[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOWid-fRgjuY46KA-HBbEfhfwsWvDyhkp+iwZq=wA1h+Uix32g@mail.gmail.com>
Date: Fri, 7 May 2021 13:04:39 -0400
From: Kenny Ho <y2kenny@...il.com>
To: Daniel Vetter <daniel@...ll.ch>
Cc: Alex Deucher <alexdeucher@...il.com>,
Song Liu <songliubraving@...com>,
Andrii Nakryiko <andriin@...com>,
DRI Development <dri-devel@...ts.freedesktop.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kenny Ho <Kenny.Ho@....com>,
"open list:CONTROL GROUP (CGROUP)" <cgroups@...r.kernel.org>,
Brian Welty <brian.welty@...el.com>,
John Fastabend <john.fastabend@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Martin KaFai Lau <kafai@...com>,
Linux-Fsdevel <linux-fsdevel@...r.kernel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Network Development <netdev@...r.kernel.org>,
KP Singh <kpsingh@...omium.org>, Yonghong Song <yhs@...com>,
bpf <bpf@...r.kernel.org>, Dave Airlie <airlied@...il.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Alex Deucher <alexander.deucher@....com>
Subject: Re: [RFC] Add BPF_PROG_TYPE_CGROUP_IOCTL
On Fri, May 7, 2021 at 12:54 PM Daniel Vetter <daniel@...ll.ch> wrote:
>
> SRIOV is kinda by design vendor specific. You set up the VF endpoint, it
> shows up, it's all hw+fw magic. Nothing for cgroups to manage here at all.
Right, so in theory you just use the device cgroup with the VF endpoints.
> All I meant is that for the container/cgroups world starting out with
> time-sharing feels like the best fit, least because your SRIOV designers
> also seem to think that's the best first cut for cloud-y computing.
> Whether it's virtualized or containerized is a distinction that's getting
> ever more blurry, with virtualization become a lot more dynamic and
> container runtimes als possibly using hw virtualization underneath.
I disagree. By the same logic, the existence of CU mask would imply
it being the preferred way for sub-device control per process.
Kenny
Powered by blists - more mailing lists