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]
Date:   Tue, 28 Jun 2022 09:40:32 +0800
From:   "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>
To:     Guanghui Feng <guanghuifeng@...ux.alibaba.com>,
        <baolin.wang@...ux.alibaba.com>, <catalin.marinas@....com>,
        <will@...nel.org>, <akpm@...ux-foundation.org>, <david@...hat.com>,
        <jianyong.wu@....com>, <james.morse@....com>,
        <quic_qiancai@...cinc.com>, <christophe.leroy@...roup.eu>,
        <jonathan@...ek.ca>, <mark.rutland@....com>,
        <chenzhou10@...wei.com>, <anshuman.khandual@....com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <rppt@...nel.org>,
        <geert+renesas@...der.be>, <ardb@...nel.org>, <linux-mm@...ck.org>
Subject: Re: [PATCH] arm64: mm: fix linear mapping mem access performace
 degradation



On 2022/6/26 19:10, Guanghui Feng wrote:
> +void __init mapping_crashkernel(void)
> +{
> +	if (can_set_direct_map() || IS_ENABLED(CONFIG_KFENCE))
> +	    return;
> +
> +	if (!crash_mem_map || !crashk_res.end)
> +	    return;

All the code related to crash_mem_map can be removed now.

> +
> +	map_crashkernel(swapper_pg_dir, crashk_res.start,
> +			crashk_res.end + 1, PAGE_KERNEL,
> +			NO_BLOCK_MAPPINGS | NO_CONT_MAPPINGS);
> +}

-- 
Regards,
  Zhen Lei

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ