[RFC PATCH 3/4] mm/vmalloc.c: Allow lowmem to be tracked in vmalloc
Laura Abbott
lauraa at codeaurora.org
Mon Dec 2 23:59:43 EST 2013
On 11/26/2013 2:45 PM, Andrew Morton wrote:
> So yes, it would be prudent to be worried about is_vmalloc_addr()
> performance at the outset.
>
> Couldn't is_vmalloc_addr() just be done with a plain old bitmap? It
> would consume 128kbytes to manage a 4G address space, and 1/8th of a meg
> isn't much.
>
Yes, I came to the same conclusion after realizing I needed something
similar to fix up proc/kcore.c . I plan to go with the bitmap for the
next patch version.
Laura
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the linux-arm-kernel
mailing list