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] [thread-next>] [day] [month] [year] [list]
Message-ID: <4aaec23f-066e-d8cb-b363-d7a999594d60@huawei.com>
Date:   Thu, 18 May 2023 09:57:27 +0800
From:   Kefeng Wang <wangkefeng.wang@...wei.com>
To:     Baoquan He <bhe@...hat.com>, <linux-kernel@...r.kernel.org>
CC:     <linux-arch@...r.kernel.org>, <linux-mm@...ck.org>,
        <arnd@...db.de>, <christophe.leroy@...roup.eu>,
        <hch@...radead.org>, <agordeev@...ux.ibm.com>,
        <schnelle@...ux.ibm.com>, <David.Laight@...LAB.COM>,
        <shorne@...il.com>, <willy@...radead.org>, <deller@....de>
Subject: Re: [PATCH v5 RESEND 06/17] mm/ioremap: add slab availability
 checking in ioremap_prot



On 2023/5/15 17:08, Baoquan He wrote:
> Several architectures has done checking if slab if available in
> ioremap_prot(). In fact it should be done in generic ioremap_prot()
> since on any architecutre, slab allocator must be available before
> get_vm_area_caller() and vunmap() are used.
> 
> Add the checking into generic_ioremap_prot().
> 
> Suggested-by: Christophe Leroy <christophe.leroy@...roup.eu>
> Signed-off-by: Baoquan He <bhe@...hat.com>
> ---
>   mm/ioremap.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
Reviewed-by: Kefeng Wang <wangkefeng.wang@...wei.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ