[PATCH] arm64: vdso: clean up vdso_pagelist initialization
Will Deacon
will.deacon at arm.com
Wed Feb 12 05:30:07 EST 2014
On Tue, Feb 11, 2014 at 10:28:42PM +0000, Nathan Lynch wrote:
> Remove some unnecessary bits that were apparently carried over from
> another architecture's implementation:
>
> - No need to get_page() the vdso text/data - these are part of the
> kernel image.
> - No need for ClearPageReserved on the vdso text.
> - No need to vmap the first text page to check the ELF header - this
> can be done through &vdso_start.
>
> Also some minor cleanup:
> - Use kcalloc for vdso_pagelist array allocation.
> - Don't print on allocation failure, slab/slub will do that for us.
>
> Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
Thanks Nathan, this cleans things up a bit.
Acked-by: Will Deacon <will.deacon at arm.com>
Will
More information about the linux-arm-kernel
mailing list