Re: [PATCH v2 1/2] sched: schedule_tail() should disable preemption

From: Peter Zijlstra
Date: Thu Oct 09 2014 - 11:17:41 EST


On Thu, Oct 09, 2014 at 04:57:26PM +0200, Oleg Nesterov wrote:

> but first we need to remove ->saved_preempt_count.

Why do you want to kill that? Your earlier proposal would penalize every
!x86 arch by adding extra code to the scheduler core while they already
automagically preserve their thread_info::preempt_count.

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