WSL2-Linux-Kernel/arch/csky/abiv1/inc/abi
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
..
cacheflush.h mm: remove flush_kernel_dcache_page 2021-09-03 09:58:13 -07:00
ckmmu.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
elf.h csky: ELF and module probe 2018-10-26 00:54:23 +08:00
entry.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
page.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
pgtable-bits.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
reg_ops.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
regdef.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
string.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
switch_context.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
vdso.h csky: Reconstruct VDSO framework 2021-01-12 09:52:41 +08:00