Re: [PATCHSET x86/core/percpu] implement dynamic percpu allocator

From: Tejun Heo
Date: Sat Feb 21 2009 - 02:34:05 EST


Tejun Heo wrote:
> I can remove the TLB problem from non-NUMA case but for NUMA I still
> don't have a good idea. Maybe we need to accept the overhead for
> NUMA? I don't know.

Hmmmm... one thing we can do on NUMA is to remap and free the remapped
address and make __pa() and __va() handle that area specially. It's a
bit convoluted but the added overhead should be minimal. It'll only
be simple range check in __pa()/__va() and it's not like they are
super hot paths anyway. I'll give it a shot.

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/