Re: [PATCH bpf-next 0/5] bpf: BPF specific memory allocator.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, Jul 12, 2022 at 08:25:24AM -0700, Shakeel Butt wrote:
> Another very obvious example is the filesystem shared between multiple
> jobs. We had a similar discussion [1] on LRU reparenting patch series.

Hmm... if I'm understanding correctly, what's discussed in [1] can be solved
with proper reparenting and nesting, right?

> For this use-case internally we have a memcg= mount option where the
> given memcg is the common ancestor (think of pod in k8s environment)
> of the jobs who are sharing the filesystem.

Can you elaborate a bit more on this? We've never really supported correctly
accounting pages shared across cgroups because it can be very complicating
and the use cases aren't that wide-spread. What's being shared? How big is
the shared portion in relation to total memory usage? What's the cgroup
topology like?

Thanks.

-- 
tejun




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux