remove unnecessary cache flush on v6 copypage
PATCH 1/1 remove unnecessary cache flush on v6 copypage
ARM: mm: remove unnecessary cache flush on v6 copypage
--arch/arm/mm/copypage-v6.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mm/copypage-v6.c +0 -1
@@ -41,7 +41,6 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to, kfrom =kmap_atomic (from,KM_USER0 ); kto =kmap_atomic (to,KM_USER1 );copy_page (kto, kfrom); -__cpuc_flush_dcache_area (kto,PAGE_SIZE );kunmap_atomic (kto,KM_USER1 );kunmap_atomic (kfrom,KM_USER0 ); }
--
Heechul
PATCH 1/1 remove unnecessary cache flush on v6 copypage
Quoted 12 lines · heechul Yun
ARM: mm: remove unnecessary cache flush on v6 copypage
Signed-off-by Heechul Yun <[email protected]>--
arch/arm/mm/copypage-v6.c| 1 -1 files changed, 0 insertions(+), 1 deletions(-)arch/arm/mm/copypage-v6.c +0
-0
arch/arm/mm/copypage-v6.c static void v6_copy_user_highpage_nonaliasing(struct page *to, · line 46
Quoted 7 lines
arch/arm/mm/copypage-v6.c +0
-1@@ -41,7 +41,6 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to, kfrom =kmap_atomic (from,KM_USER0 ); kto =kmap_atomic (to,KM_USER1 );copy_page (kto, kfrom); -__cpuc_flush_dcache_area (kto,PAGE_SIZE );kunmap_atomic (kto,KM_USER1 );kunmap_atomic (kfrom,KM_USER0 ); }
Patch looks good, except that it's whitespace damaged (the tabs are replaced by spaces) which makes it hard to apply. Could you try to sort that out. Documentation/email-clients.txt in the kernel tree may help with that.
I assume Catalin will (eventually) provide an ack - and at that point please submit it (in non-whitespace damaged form) to the patch system, thanks.
Quoted 3 lines · heechul Yun
ARM: mm: remove unnecessary cache flush on v6 copypage
Signed-off-by Heechul Yun <[email protected]>
I would clarify the commit log a bit stating that this flush is no longer necessary because of commit c0177800. We had a good reason for adding the flush initially.
Otherwise,
Signature · 1 line
Catalin
Quoted 2 lines · Catalin Marinas
Quoted 1 line · heechul Yun
ARM: mm: remove unnecessary cache flush on v6 copypage
I think you better mention that this is regarding v6 nonaliasing mode.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Heechul Yun <[email protected]>I would clarify the commit log a bit stating that this flush is no longer necessary because of commit
c0177800. We had a good reason for adding the flush initially.
I agree, but I would also mention that the flush was needed in order to coherent between dcache and icache, and now this is being handled by __sync_icache_dcache
saeed