lkml.org 
[lkml]   [2014]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel: Refactor task_struct to use numa_faults instead of numa_* pointers
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@gmail.com>

Acked-by: Rik van Riel <riel@redhat.com>



\
 
 \ /
  Last update: 2014-10-30 21:21    [W:0.037 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site