Re: [PATCH 1/2] mm: convert k{un}map_atomic(p, KM_type) tok{un}map_atomic(p)

From: Peter Zijlstra
Date: Fri Aug 26 2011 - 04:58:38 EST


On Fri, 2011-08-26 at 16:17 +0800, Lin Ming wrote:
>
> The KM_type parameter for kmap_atomic/kunmap_atomic is not used anymore
> since commit 3e4d3af(mm: stack based kmap_atomic()).
>
> So convert k{un}map_atomic(p, KM_type) to k{un}map_atomic(p).
> Most conversion are done by below commands. Some are done by hand.
>
> find . -type f | xargs sed -i 's/\(kmap_atomic(.*\),\ .*)/\1)/'
> find . -type f | xargs sed -i 's/\(kunmap_atomic(.*\),\ .*)/\1)/'
>
> Build and tested on 32/64bit x86 kernel(allyesconfig) with 3G memory.
>
> ARM, MIPS, PowerPc and Sparc are build tested only with
> CONFIG_HIGHMEM=y and CONFIG_HIGHMEM=n.
> I don't have cross-compiler for other arches.

yet-another-massive patch.. (you're the third or fourth to do so) if
Andrew wants to take this one I won't mind, however previously he didn't
want flag day patches..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/