Re: [PATCH 20/40] autonuma: alloc/free/init mm_autonuma

From: Rik van Riel
Date: Fri Jun 29 2012 - 14:55:43 EST


On 06/28/2012 08:56 AM, Andrea Arcangeli wrote:
This is where the mm_autonuma structure is being handled. Just like
sched_autonuma, this is only allocated at runtime if the hardware the
kernel is running on has been detected as NUMA. On not NUMA hardware
the memory cost is reduced to one pointer per mm.

To get rid of the pointer in the each mm, the kernel can be compiled
with CONFIG_AUTONUMA=n.

Signed-off-by: Andrea Arcangeli<aarcange@xxxxxxxxxx>

Same comments as before. A description of what the data
structure is used for and how would be good.

--
All rights reversed
--
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/