Re: [PATCH] kernel: Refactor task_struct to use numa_faults instead of numa_* pointers

From: Rik van Riel
Date: Thu Oct 30 2014 - 15:47:15 EST


On 10/30/2014 03:38 PM, Iulia Manda wrote:
> This patch simplifies task_struct by removing the four numa_* pointers
> in the same array and replacing them with the array pointer. By doing this,
> the size of task_struct is reduced.
>
> A new parameter is added to the task_faults_idx function so that it can return
> an index to the correct offset, corresponding with the old precalculated
> pointers.
>
> All of the code in sched/ that depended on task_faults_idx and numa_* was
> changed in order to match the new logic.
>
> Signed-off-by: Iulia Manda <iulia.manda21@xxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

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