Messages in this thread | | | Date | Thu, 30 Oct 2014 15:44:04 -0400 | From | Rik van Riel <> | Subject | Re: [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>
| |