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  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]
Date:   Tue, 5 May 2020 23:13:26 -0700
From:   Christoph Hellwig <>
        Andrew Morton <>,
        Christian Koenig <>,
        Huang Rui <>,
        Thomas Bogendoerfer <>,
        "James E.J. Bottomley" <>,
        Helge Deller <>,
        Benjamin Herrenschmidt <>,
        Paul Mackerras <>,
        "David S. Miller" <>,
        Thomas Gleixner <>,
        Ingo Molnar <>, Borislav Petkov <>,, "H. Peter Anvin" <>,
        Dave Hansen <>,
        Andy Lutomirski <>,
        Peter Zijlstra <>,
        Chris Zankel <>,
        Max Filippov <>,
        Dan Williams <>,,,,,,,,,
Subject: Re: [PATCH V2 08/11] arch/kmap: Ensure kmap_prot visibility

On Sun, May 03, 2020 at 06:09:09PM -0700, wrote:
> From: Ira Weiny <>
> We want to support kmap_atomic_prot() on all architectures and it makes
> sense to define kmap_atomic() to use the default kmap_prot.
> So we ensure all arch's have a globally available kmap_prot either as a
> define or exported symbol.

FYI, I still think a

#ifndef kmap_prot
#define kmap_prot PAGE_KERNEL

in linux/highmem.h would be nicer.  Then only xtensa and sparc need
to override it and clearly stand out.

Powered by blists - more mailing lists