[PATCH v2 2/2] ipc,namespace: batch free ipc_namespace structures

From: Rik van Riel
Date: Thu Jan 26 2023 - 20:32:12 EST


On Thu, 26 Jan 2023 20:15:35 -0500
Rik van Riel <riel@xxxxxxxxxxx> wrote:

> Instead of waiting for an RCU grace period between each ipc_namespace
> structure that is being freed, wait an RCU grace period for every batch
> of ipc_namespace structures.
>
> Thanks to Al Viro for the suggestion of the helper function.

... and of course I forgot the "git add" before the "git commit --amend".
Sorry about that.

The real v2 of this patch, with Al's suggestions included is below.

---8<---