[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200426055406.134198-1-ira.weiny@intel.com>
Date: Sat, 25 Apr 2020 22:54:01 -0700
From: ira.weiny@...el.com
To: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Ira Weiny <ira.weiny@...el.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Helge Deller <deller@....de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>,
Dan Williams <dan.j.williams@...el.com>,
linux-snps-arc@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-csky@...r.kernel.org,
linux-mips@...r.kernel.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, sparclinux@...r.kernel.org,
linux-xtensa@...ux-xtensa.org
Subject: [PATCH 0/5] Remove duplicated kmap code
From: Ira Weiny <ira.weiny@...el.com>
The kmap infrastructure has been copied almost verbatim to every architecture.
This series consolidates obvious duplicated code. (k[un]map_atmoic has some
additional duplication between some of the architectures but the differences
were such to not warrant further changes.)
0day built successfully to cover all the architectures I can't readily build.
Ira Weiny (5):
arch/kmap: Remove BUG_ON()
arch/kmap: Remove redundant arch specific kmaps
arch/kunmap: Remove duplicate kunmap implementations
arch/kmap_atomic: Consolidate duplicate code
arch/kunmap_atomic: Consolidate duplicate code
arch/arc/include/asm/highmem.h | 11 -------
arch/arc/mm/highmem.c | 20 ++-----------
arch/arm/include/asm/highmem.h | 3 --
arch/arm/mm/highmem.c | 28 ++----------------
arch/csky/include/asm/highmem.h | 3 +-
arch/csky/mm/highmem.c | 28 ++++--------------
arch/microblaze/include/asm/highmem.h | 17 -----------
arch/microblaze/mm/highmem.c | 10 ++-----
arch/mips/include/asm/highmem.h | 3 +-
arch/mips/mm/highmem.c | 25 +++-------------
arch/nds32/include/asm/highmem.h | 3 --
arch/nds32/mm/highmem.c | 31 ++------------------
arch/parisc/include/asm/cacheflush.h | 2 --
arch/powerpc/include/asm/highmem.h | 17 -----------
arch/powerpc/mm/highmem.c | 9 ++----
arch/sparc/include/asm/highmem.h | 17 -----------
arch/sparc/mm/highmem.c | 9 ++----
arch/x86/include/asm/highmem.h | 4 ---
arch/x86/mm/highmem_32.c | 30 ++------------------
arch/xtensa/include/asm/highmem.h | 14 +--------
arch/xtensa/mm/highmem.c | 10 ++-----
include/linux/highmem.h | 41 +++++++++++++++++++++++++--
22 files changed, 75 insertions(+), 260 deletions(-)
--
2.25.1
Powered by blists - more mailing lists