On Wednesday 27 April 2011 21:12:33 Zach Pfeffer wrote:
On 27 April 2011 09:16, Marek Szyprowski m.szyprowski@samsung.com wrote:
I want to merge this idea with changing changing the kernel linear low-
mem
mapping, so 2-level page mapping will be done only for the defined CMA range, what should reduce TLB pressure. Once the contiguous block is allocated from CMA range, the mapping in low-mem area can be removed to fulfill the ARM specification.
We could keep the mapping around and just mark it inactive. If we could handle the multiple mappers problem on-demand that could streamline things.
According to what Catalin wrote today, even that is not necessary any more, as the ARM ARM gets updated to allow it. We only need to flush the cache for the linear mapping before we establish another one, AFAICT.
Arnd