linux_dsm_epyc7002/arch/powerpc
David Gibson 09f5dc44ae [PATCH] powerpc: Cleanup, consolidating icache dirtying logic
The code to mark a page as icache dirty (so that it will later be
icache-dcache flushed when we try to execute from it) is duplicated in
three places: flush_dcache_page() does this marking and nothing else,
but clear_user_page() and copy_user_page() duplicate it, since those
functions make the page icache dirty themselves.

This patch makes those other functions call flush_dcache_page()
instead, so the logic's all in one place.  This will make life less
confusing if we ever need to tweak the details of the the lazy icache
flush mechanism.

 arch/powerpc/mm/mem.c |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-07 21:51:53 +11:00
..
boot powerpc/32: Generate miboot images with ARCH=powerpc 2006-01-15 13:00:08 +11:00
configs [PATCH] e1000: Added disable packet split capability 2006-01-18 16:17:57 -05:00
kernel [PATCH] Don't check pointer for NULL before passing it to kfree [arch/powerpc/kernel/rtas_flash.c] 2006-02-07 21:51:53 +11:00
lib [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
mm [PATCH] powerpc: Cleanup, consolidating icache dirtying logic 2006-02-07 21:51:53 +11:00
oprofile [PATCH] powerpc: oprofile cpu type names clash with other code 2006-01-14 11:12:16 +11:00
platforms [PATCH] powerpc: add refcounting to setup_peg2 and of_get_pci_address 2006-02-07 21:32:45 +11:00
sysdev [PATCH] powerpc: Add FSL SOC library and setup code 2006-01-14 11:13:22 +11:00
xmon [PATCH] powerpc: xmon namespace cleanups 2006-01-12 20:39:14 +11:00
Kconfig [PATCH] powerpc: Kconfig changes for CRASH_DUMP 2006-01-15 16:50:04 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile [PATCH] powerpc/boot: Better use of defaultimage- 2006-01-13 21:14:28 +11:00