]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64
authorBarry Song <song.bao.hua@hisilicon.com>
Tue, 23 Feb 2021 00:32:30 +0000 (13:32 +1300)
committerJonathan Corbet <corbet@lwn.net>
Mon, 15 Mar 2021 19:17:40 +0000 (13:17 -0600)
commit46225f5f2e6914308197443afd9d010339665d8a
tree698bc8ec8a31a6a345c8ec75dc0d5ba902162573
parenta783e83e9b092732e9a2a05e77e4a739a0b15c07
Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64

BATCHED_UNMAP_TLB_FLUSH is used on x86 to do batched tlb shootdown by
sending one IPI to TLB flush all entries after unmapping pages rather
than sending an IPI to flush each individual entry.
On arm64, tlb shootdown is done by hardware. Flush instructions are
innershareable. The local flushes are limited to the boot (1 per CPU)
and when a task is getting a new ASID.
So marking this feature as "TODO" is not proper. ".." isn't good as
well. So this patch adds a "N/A" for this kind of features which are
not needed on some architectures.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Acked-by: Will Deacon <will@kernel.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210223003230.11976-1-song.bao.hua@hisilicon.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/features/arch-support.txt
Documentation/features/vm/TLB/arch-support.txt