Re: [PATCH] locking/percpu_rwsem: Rewrite to not use rwsem

Oleg Nesterov
2019-10-30T15:57:45Z

On 10/29, Peter Zijlstra wrote:
>
> That said, I think cgroups use a variant of percpu-rwsem that wreck rss
> on purpose and always take the slowpaths.

I forgot (never understodd) why does Android need this.

I am wondering if it makes any sense to add a config/boot or even runtime
knob for cgroup_threadgroup_rwsem.

Oleg.