lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d854812b07d8a7516274ea47739158c34cfce08.camel@redhat.com>
Date:   Wed, 02 Dec 2020 18:39:06 -0500
From:   Qian Cai <qcai@...hat.com>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/swapfile: Do not sleep with a spin lock held

On Wed, 2020-12-02 at 15:15 -0800, Andrew Morton wrote:
> On Wed,  2 Dec 2020 10:15:49 -0500 Qian Cai <qcai@...hat.com> 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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ