Re: [PATCH] mm/swapfile: Do not sleep with a spin lock held

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

 



On Wed, 2020-12-02 at 15:15 -0800, Andrew Morton wrote:
> On Wed,  2 Dec 2020 10:15:49 -0500 Qian Cai <qcai@xxxxxxxxxx> wrote:
> 
> > We can't call kvfree() with a spin lock held, so defer it.
> > 
> 
> Fixes: 873d7bcfd066 ("mm/swapfile.c: use kvzalloc for swap_info_struct
> allocatio
> n")
> 
> Do you think it's worth a cc:stable?  IOW, is this known to ever
> produce a warning?

Yes, it did trigger a might_sleep() warning.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux