Skip to content

RFC mm, highmem: kmap_atomic rework

Peter Zijlstra linux-arch linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mm: strictly nested kmap_atomiccrypto/async_tx/async_memcpy.c crypto/blkcipher.c drivers/block/loop.c +2 more+8 -82 replies
2/6mm: stack based kmap_atomicarch/arm/mm/highmem.c arch/frv/include/asm/highmem.h arch/mips/mm/highmem.c +7 more+139 -1384 replies
3/6mm, frv: Out-of-line kmap-atomicarch/frv/include/asm/highmem.h arch/frv/mb93090-mb00/pci-dma.c arch/frv/mm/cache-page.c +1 more+58 -571 reply
4/6mm: Remove all KM_type argumentsarch/arm/include/asm/highmem.h arch/arm/include/asm/pgtable.h arch/arm/mm/copypage-fa.c +184 more+904 -9041 reply
5/6mm: Fix up KM_type argument removal falloutarch/arm/include/asm/pgtable.h arch/arm/lib/uaccess_with_memcpy.c arch/arm/mm/highmem.c +35 more+126 -1681 reply
6/6mm: Remove pte_*map_nested()arch/alpha/include/asm/pgtable.h arch/arm/include/asm/pgtable.h arch/arm/mm/fault-armv.c +27 more+8 -761 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchRik van RielKAMEZAWA Hiroyuki
1/6R-b R-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/6] mm, highmem: kmap_atomic rework

This patch-set reworks the kmap_atomic API to be a stack based, instead of static slot based. Some might remember this from last year, some not ;-)

The advantage is that you no longer need to worry about KM_foo, the disadvantage is that kmap_atomic/kunmap_atomic now needs to be strictly nested (CONFIG_HIGHMEM_DEBUG should complain in case its not) -- and of course its a big massive patch changing a widely used API.

The patch-set is currently based on tip/master as of today, and compile tested on: i386-all{mod,yes}config, mips-yosemite_defconfig, sparc-sparc32_defconfig, powerpc-ppc6xx_defconfig, and some arm config.

(Sorry dhowells, I again couldn't find frv/mn10300 compilers)

Boot tested with i386-defconfig on kvm.

Since its a rather large set, and somewhat tedious to rebase, I wanted to ask how to go about getting this merged?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>