Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1512016imc; Mon, 11 Mar 2019 15:51:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyasYJCAji2hq0SgzcToE2IHOKALbEEUtf0U9vVV32Dj7jJnY6sfVSXACvN2FViJKWM8+Kk X-Received: by 2002:a63:f412:: with SMTP id g18mr32290818pgi.444.1552344698047; Mon, 11 Mar 2019 15:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552344698; cv=none; d=google.com; s=arc-20160816; b=DBAhRoCYm/5dWSPAHerU62uX6W+zEMkg8hcFIalB+kx2Oq/XSBT8zB7dPJbmgJnhXB 6/DFZw3Zmw/EK97SE/H2XeYKYAMXayfK/grFxeYD78vkhn07aO6AjHG1qKXotlzePWo2 xvda1GGq/jbmwVfbruGq4vHk9+MIvpzgKLZ++pq5tLtZRIFDsgwfP93OMhZ+gTxzcAoU ke4BiGv3/AWHFJGrwOpkhzRzcwv/qEl6SP93Fp31ExbcJpgWpr81qsTfL6OeUcC1d14k mdgKSoErfL4daRBGGNn7RLtxqZs+y2Pdb1cB+/bE0CEMorEPl5N8CHrMYxl5WAZ296x5 wTWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FAG5Dq90IrEuHg2oPtm3UU1kndyuyqgsh7YS/S6GkSk=; b=joGqj5Jc39lYC/td4n3FZMoMrbeXtT7Hi9UWgCy3BSDAebwWyauap0xiR6mJKfoJFy e/PDqmhYf5aMoM7dL0wnW0Z0MRE7pbQgXpdWX7sP505y1BLzXJJZxSZmk6ErWmmaBCnC iou8ffgw8t8t3Vx9+kSU+IKWt5gxKedYxBexG21840eSaqn/KjOGM3z5nJXArgvtPE2/ jBRcDiwSHkt3S7f8qkHoES4DZMIf3GLvRk0V0VlNXXsweCmjoi29w4h4rGsXCLZGVNg5 IdFC7068fBDCjc2lVrRAsUun1D13A+ifA2ZEItgenx6SK+wHj/GchoOjeAuZ5Lx53bmV d8SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si5710004pgv.285.2019.03.11.15.51.22; Mon, 11 Mar 2019 15:51:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726560AbfCKWsK (ORCPT + 99 others); Mon, 11 Mar 2019 18:48:10 -0400 Received: from foss.arm.com ([217.140.101.70]:33892 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfCKWsJ (ORCPT ); Mon, 11 Mar 2019 18:48:09 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C7E831688; Mon, 11 Mar 2019 15:48:08 -0700 (PDT) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DBF503F59C; Mon, 11 Mar 2019 15:48:07 -0700 (PDT) From: Valentin Schneider To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra Subject: [PATCH 01/14] sched/core: Fix preempt_schedule() interrupt return comment Date: Mon, 11 Mar 2019 22:47:39 +0000 Message-Id: <20190311224752.8337-2-valentin.schneider@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190311224752.8337-1-valentin.schneider@arm.com> References: <20190311224752.8337-1-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org preempt_schedule_irq() is the one that should be called on return from interrupt, clean up the comment to avoid any ambiguity. Signed-off-by: Valentin Schneider Cc: Ingo Molnar Cc: Peter Zijlstra --- kernel/sched/core.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index ead464a0f2e5..78c5aaa28278 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3652,9 +3652,8 @@ static void __sched notrace preempt_schedule_common(void) #ifdef CONFIG_PREEMPT /* - * this is the entry point to schedule() from in-kernel preemption - * off of preempt_enable. Kernel preemptions off return from interrupt - * occur there and call schedule directly. + * This is the entry point to schedule() from in-kernel preemption + * off of preempt_enable. */ asmlinkage __visible void __sched notrace preempt_schedule(void) { @@ -3725,7 +3724,7 @@ EXPORT_SYMBOL_GPL(preempt_schedule_notrace); #endif /* CONFIG_PREEMPT */ /* - * this is the entry point to schedule() from kernel preemption + * This is the entry point to schedule() from kernel preemption * off of irq context. * Note, that this is called and return with irqs disabled. This will * protect us against recursive calling from irq. -- 2.20.1