WSL2-Linux-Kernel/arch/nds32/include/asm
Christoph Hellwig f358afc52c mm: remove flush_kernel_dcache_page
flush_kernel_dcache_page is a rather confusing interface that implements a
subset of flush_dcache_page by not being able to properly handle page
cache mapped pages.

The only callers left are in the exec code as all other previous callers
were incorrect as they could have dealt with page cache pages.  Replace
the calls to flush_kernel_dcache_page with calls to flush_dcache_page,
which for all architectures does either exactly the same thing, can
contains one or more of the following:

 1) an optimization to defer the cache flush for page cache pages not
    mapped into userspace
 2) additional flushing for mapped page cache pages if cache aliases
    are possible

Link: https://lkml.kernel.org/r/20210712060928.4161649-7-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Cc: Alex Shi <alexs@kernel.org>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Guo Ren <guoren@kernel.org>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Rich Felker <dalias@libc.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Yoshinori Sato <ysato@users.osdn.me>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-03 09:58:13 -07:00
..
Kbuild local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
assembler.h
barrier.h
bitfield.h
cache.h
cache_info.h
cacheflush.h mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
current.h
delay.h
elf.h whack-a-mole: USE_ELF_CORE_DUMP 2020-10-25 20:03:05 -04:00
fixmap.h nds32/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:57 +01:00
fpu.h
fpuemu.h
ftrace.h
futex.h
highmem.h nds32/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:57 +01:00
io.h
irqflags.h nds32: Implement arch_irqs_disabled() 2020-08-26 12:41:55 +02:00
l2_cache.h
linkage.h
memory.h arch, mm: remove stale mentions of DISCONIGMEM 2021-06-29 10:53:55 -07:00
mmu.h
mmu_context.h nds32: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
nds32.h
nds32_fpu_inst.h
page.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
perf_event.h
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable.h mm: consolidate pte_index() and pte_offset_*() definitions 2020-06-09 09:39:14 -07:00
pmu.h
proc-fns.h
processor.h
ptrace.h
sfp-machine.h
shmparam.h
stacktrace.h
string.h
suspend.h
swab.h
syscall.h
syscalls.h
thread_info.h nds32: add support for TIF_NOTIFY_SIGNAL 2020-12-12 09:17:38 -07:00
tlb.h
tlbflush.h
uaccess.h whack-a-mole: kill strlen_user() (again) 2021-03-27 19:36:31 -04:00
unistd.h
vdso.h
vdso_datapage.h
vdso_timer_info.h
vermagic.h arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h> 2020-04-23 10:50:26 +09:00
vmalloc.h