On Tue 17-12-24 19:07:17, alexei.starovoitov@xxxxxxxxx wrote: > From: Alexei Starovoitov <ast@xxxxxxxxxx> > > Teach memcg to operate under trylock conditions when > spinning locks cannot be used. Can we make this trylock unconditional? I hope I am not really missing anything important but if the local_lock is just IRQ disabling on !RT. For RT this is more involved but does it make sense to spin/sleep on the cache if we can go ahead and charge directly to counters? I mean doesn't this defeat the purpose of the cache in the first place? -- Michal Hocko SUSE Labs