Re: [patch] do_no_pfn

From: Jes Sorensen
Date: Tue Jun 20 2006 - 05:11:23 EST


Andi Kleen wrote:
>> Please go back and read the old threads on this for all the details,
>> I would miss half the points if I was to try and restate it all from
>> memory.
>
> Shouldn't these points be in the patch submission description?

You expect people to go look for things on random mailing lists when you
post it, but you don't care to search the archives yourself.... och
well.

http://www.gelato.unsw.edu.au/archives/linux-ia64/0603/index.html#17543

http://www.ussg.iu.edu/hypermail/linux/kernel/0604.2/index.html#0652
http://www.ussg.iu.edu/hypermail/linux/kernel/0604.3/index.html#0029

>> Doing this at mmap time does not work, you want NUMA node locality.
>> It has to be done through first touch mappings.
>
> Then create struct page *s.

One struct page for a random single page here, another for a single
random page there. And the risk that someone will start walking the
pages and dereference and cause data corruption. As explained before,
it's a bad idea.

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