On Tue, Jul 12, 2022 at 11:11:25AM -0700, Shakeel Butt wrote: > Ccing Mina who actually worked on upstreaming this. See [1] for > previous discussion and more use-cases. > > [1] https://lore.kernel.org/linux-mm/20211120045011.3074840-1-almasrymina@xxxxxxxxxx/ Doesn't look like that it landed upstream? For bpf side we're thinking of something similar. We cannot do memcg= mount option, of course. Instead memcg path or FD will passed to bpf side to be used later. So the user can select a memcg instead of taking it from current. Yafang, I'm assuming you're working on something like this?