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  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:   Mon, 29 Apr 2019 22:05:54 +0200
From:   Ingo Molnar <>
To:     Atish Patra <>
Cc:, Albert Ou <>,
        Andrew Morton <>,
        Anup Patel <>,
        Borislav Petkov <>,
        Changbin Du <>,
        Gary Guo <>, "H. Peter Anvin" <>,
        Ingo Molnar <>,
        Kees Cook <>,,,
        Luc Van Oostenryck <>,
        Palmer Dabbelt <>,
        Thomas Gleixner <>,
        Vlastimil Babka <>,
        "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <>,
        Christoph Hellwig <>
Subject: Re: [PATCH v2 1/3] x86: Move DEBUG_TLBFLUSH option.

* Atish Patra <> wrote:

> CONFIG_DEBUG_TLBFLUSH was added in 'commit 3df3212f9722 ("x86/tlb: add
> tlb_flushall_shift knob into debugfs")' to support tlb_flushall_shift
> knob. The knob was removed in 'commit e9f4e0a9fe27 ("x86/mm: Rip out
> complicated, out-of-date, buggy TLB flushing")'.  However, the debug
> option was never removed from Kconfig. It was reused in commit
> '9824cf9753ec ("mm: vmstats: tlb flush counters")' but the commit text
> was never updated accordingly.

Please, when you mention several commits, put them into new lines to make 
it readable, i.e.:

  3df3212f9722 ("x86/tlb: add tlb_flushall_shift knob into debugfs")


> Update the Kconfig option description as per its current usage.
> Take this opprtunity to make this kconfig option a common option as it
> touches the common vmstat code. Introduce another arch specific config
> HAVE_ARCH_DEBUG_TLBFLUSH that can be selected to enable this config.


> +	bool
> +	depends on DEBUG_KERNEL
> +
> +	bool "Save tlb flush statstics to vmstat"
> +	help
> +
> +	Add tlbflush statstics to vmstat. It is really helpful understand tlbflush
> +	performance and behavior. It should be enabled only for debugging purpose
> +	by individual architectures explicitly by selecting HAVE_ARCH_DEBUG_TLBFLUSH.


Please put a spell checker into your workflow or read what you are 
writing ...



Powered by blists - more mailing lists