Re: remap allocator for per-CPU memory

From: Tejun Heo
Date: Wed May 13 2009 - 07:14:13 EST


Andi Kleen wrote:
> Tejun Heo <teheo@xxxxxxxxxx> writes:
>> Okay, just glanced over the pageattr code. I don't think we need any
>> special provisions for this as long as the TLB is fine with having
>> overlapping PMD and PTE mappings with different attributes (please
>> note that these two mappings aren't occupying the same linear
>> addresses - they're aliases). This is allowed, right?
>
> Nope.

Yeah, I'm going through the manual now and can't find anything which
allows such behavior. I haven't been able to find anything which
describes what happens between large page and 4k page aliases.
Aieee... I'll dig through the manual a bit more and see whether this
can be worked around somehow. :-(

Thanks.

--
tejun
--
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/