Re: [PATCH v2] ipc/sem: do not sleep with a spin lock held

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/4/22 19:20, Shakeel Butt wrote:
On Wed, Dec 22, 2021 at 7:12 PM <cgel.zte@xxxxxxxxx> wrote:
From: Minghao Chi <chi.minghao@xxxxxxxxxx>

We can't call kvfree() with a spin lock held, so defer it.
Fixes: fc37a3b8b438 ("[PATCH] ipc sem: use kvmalloc for sem_undo
allocation")

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>

Reviewed-by: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>

--

    Manfred




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux