-
- Downloads
itimers: remove the per-cpu-ish-ness
Either we bounce once cacheline per cpu per tick, yielding n^2 bounces or we just bounce a single.. Also, using per-cpu allocations for the thread-groups complicates the per-cpu allocator in that its currently aimed to be a fixed sized allocator and the only possible extention to that would be vmap based, which is seriously constrained on 32 bit archs. So making the per-cpu memory requirement depend on the number of processes is an issue. Lastly, it didn't deal with cpu-hotplug, although admittedly that might be fixable. Signed-off-by:Peter Zijlstra <peterz@infradead.org> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- include/linux/init_task.h 6 additions, 0 deletionsinclude/linux/init_task.h
- include/linux/sched.h 18 additions, 11 deletionsinclude/linux/sched.h
- kernel/fork.c 7 additions, 8 deletionskernel/fork.c
- kernel/posix-cpu-timers.c 0 additions, 70 deletionskernel/posix-cpu-timers.c
- kernel/sched_stats.h 15 additions, 18 deletionskernel/sched_stats.h
Loading
Please register or sign in to comment