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: <20170807154850.GF3946@tassilo.jf.intel.com>
Date:   Mon, 7 Aug 2017 08:48:50 -0700
From:   Andi Kleen <ak@...ux.intel.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Andrew Morton <akpm@...ux-foundation.org>, x86@...nel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>,
        Dave Hansen <dave.hansen@...el.com>,
        Andy Lutomirski <luto@...capital.net>,
        Michal Hocko <mhocko@...nel.org>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D
 variable

> +#ifdef CONFIG_X86_5LEVEL
> +unsigned int pgdir_shift = 48;
> +unsigned int ptrs_per_p4d = 512;

should be both __read_mostly

> +#ifdef CONFIG_X86_5LEVEL
> +unsigned int pgdir_shift = 48;
> +EXPORT_SYMBOL(pgdir_shift);
> +unsigned int ptrs_per_p4d = 512;
> +EXPORT_SYMBOL(ptrs_per_p4d);
> +#endif

Same.

-Andi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ