On Mon, Apr 26, 2021 at 3:18 AM Vasily Averin <vvs@xxxxxxxxxxxxx> wrote: > > size of sem_undo can exceed one page and with the maximum possible > nsems = 32000 it can grow up to 64Kb. Let's switch its allocation > to kvmalloc to avoid user-triggered disruptive actions like OOM killer > in case of high-order memory shortage. > > Signed-off-by: Vasily Averin <vvs@xxxxxxxxxxxxx> Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>