Files
kernel_xiaomi_sm8250/include/linux
Iulia Manda 44dba3d5d6 sched: Refactor task_struct to use numa_faults instead of numa_* pointers
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,
on x86_64, the size of task_struct is reduced by 3 ulong pointers (24 bytes on
x86_64).

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>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: mgorman@suse.de
Cc: dave@stgolabs.net
Cc: riel@redhat.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20141031001331.GA30662@winterfell
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-11-04 07:17:57 +01:00
..
2014-10-03 15:28:18 -06:00
2014-10-14 09:00:44 -06:00
2014-10-14 02:18:12 +02:00
2014-10-21 00:51:01 +02:00
2014-10-09 11:35:48 +03:00
2014-10-08 16:01:41 -04:00
2014-10-24 00:14:39 +02:00
2014-10-14 02:18:13 +02:00
2014-10-09 22:25:58 -04:00
2014-10-09 22:25:57 -04:00
2014-10-24 00:14:36 +02:00
2014-10-15 12:11:00 -04:00
2014-10-07 01:18:12 +02:00