Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752184AbaBLK2q (ORCPT ); Wed, 12 Feb 2014 05:28:46 -0500 Received: from relay.parallels.com ([195.214.232.42]:55889 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054AbaBLKTh (ORCPT ); Wed, 12 Feb 2014 05:19:37 -0500 Subject: [PATCH] smpboot: Use preempt_enable_no_resched() before schedule() To: From: Kirill Tkhai CC: Date: Wed, 12 Feb 2014 14:19:56 +0400 Message-ID: <20140212101954.17530.53675.stgit@tkhai> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.26.172] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Kirill Tkhai CC: Thomas Gleixner --- kernel/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/smpboot.c b/kernel/smpboot.c index eb89e18..c6e1c56 100644 --- a/kernel/smpboot.c +++ b/kernel/smpboot.c @@ -152,7 +152,7 @@ static int smpboot_thread_fn(void *data) } if (!ht->thread_should_run(td->cpu)) { - preempt_enable(); + preempt_enable_no_resched(); schedule(); } else { set_current_state(TASK_RUNNING); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/