[PATCH 39/41] kernel/fork: throttle call_rcu() calls in vm_area_free

Michal Hocko mhocko at suse.com
Tue Jan 17 07:57:40 PST 2023


On Mon 09-01-23 12:53:34, Suren Baghdasaryan wrote:
> call_rcu() can take a long time when callback offloading is enabled.
> Its use in the vm_area_free can cause regressions in the exit path when
> multiple VMAs are being freed.

What kind of regressions.

> To minimize that impact, place VMAs into
> a list and free them in groups using one call_rcu() call per group.

Please add some data to justify this additional complexity.
-- 
Michal Hocko
SUSE Labs



More information about the linux-arm-kernel mailing list