xen/sched: fix stale file path comments in common/sched directory
PATCH 1/1 xen/sched: fix stale file path comments in common/sched directory
Commit 6cb4b01c03 ("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.
Update the comments to reflect the current file locations.
--- xen/common/sched/arinc653.c | 2 +- xen/common/sched/boot-cpupool.c | 2 +- xen/common/sched/compat.c | 2 +- xen/common/sched/core.c | 2 +- xen/common/sched/cpupool.c | 2 +- xen/common/sched/credit.c | 2 +- xen/common/sched/credit2.c | 2 +- xen/common/sched/null.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
xen/common/sched/arinc653.c +1 -1
@@ -1,5 +1,5 @@/****************************************************************************** -* sched_arinc653.c +* common/sched/arinc653.c * * An ARINC653-compatible scheduling algorithm for use in Xen. *
xen/common/sched/boot-cpupool.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ /* -* xen/common/boot_cpupools.c +* common/sched/boot-cpupool.c * * Code to create cpupools at boot time. *
xen/common/sched/compat.c +1 -1
@@ -1,5 +1,5 @@/**************************************************************************** -* schedule.c +* common/sched/compat.c * */
xen/common/sched/core.c +1 -1
@@ -4,7 +4,7 @@ * (C) 2004 - Mark Williamson - Intel Research Cambridge **************************************************************************** * - * File: common/schedule.c + * File: common/sched/core.c * Author: Rolf Neugebauer & Keir Fraser * Updated for generic API by Mark Williamson *
xen/common/sched/cpupool.c +1 -1
@@ -1,5 +1,5 @@/****************************************************************************** -* cpupool.c +* common/sched/cpupool.c * * Generic cpupool-handling functions. *
xen/common/sched/credit.c +1 -1
@@ -2,7 +2,7 @@ * (C) 2005-2006 - Emmanuel Ackaouy - XenSource Inc. **************************************************************************** * - * File: common/csched_credit.c + * File: common/sched/credit.c * Author: Emmanuel Ackaouy * * Description: Credit-based SMP CPU scheduler
xen/common/sched/credit2.c +1 -1
@@ -3,7 +3,7 @@ * (C) 2009 - George Dunlap - Citrix Systems R&D UK, Ltd **************************************************************************** * - * File: common/sched_credit2.c + * File: common/sched/credit2.c * Author: George Dunlap * * Description: Credit-based SMP CPU scheduler
xen/common/sched/null.c +1 -1
@@ -1,5 +1,5 @@/* -* xen/common/sched_null.c +* common/sched/null.c * * Copyright (c) 2017, Dario Faggioli, Citrix Ltd *
Signature · 1 line
2.34.1
Quoted 6 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.Update the comments to reflect the current file locations.
FWIW, if we have to modify those lines I would just delete them, I don't think they add anything meaningful to the file.
Thanks, Roger.
Quoted 10 lines · Roger Pau Monné
Quoted 6 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.Update the comments to reflect the current file locations.
FWIW, if we have to modify those lines I would just delete them, I don't think they add anything meaningful to the file.
Wanted to write the same. So yes, please drop the lines instead of modifying them.
Juergen
Quoted 9 lines · Jürgen Groß
Quoted 8 lines · Roger Pau Monné
Quoted 6 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.Update the comments to reflect the current file locations.
Quoted 8 lines
Quoted 2 lines
FWIW, if we have to modify those lines I would just delete them, I don't think they add anything meaningful to the file.
Wanted to write the same. So yes, please drop the lines instead of modifying them.
Juergen
Thanks for the feedback. I'll send a v2 with the lines dropped.
Furkan Caliskan
PATCH v2 1/1 xen/sched: remove stale file path comments in common/sched directory
In reply to Furkan CaliskanCommit 6cb4b01c03 ("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.
Remove the comments rather than updating them, as they are redundant information already conveyed by the filename itself.
--- xen/common/sched/arinc653.c | 1 - xen/common/sched/boot-cpupool.c | 2 -- xen/common/sched/compat.c | 4 ---- xen/common/sched/core.c | 1 - xen/common/sched/cpupool.c | 1 - xen/common/sched/credit.c | 1 - xen/common/sched/credit2.c | 1 - xen/common/sched/null.c | 1 - 8 files changed, 12 deletions(-)
xen/common/sched/arinc653.c +0 -1
@@ -1,5 +1,4 @@/****************************************************************************** -* sched_arinc653.c * * An ARINC653-compatible scheduling algorithm for use in Xen. *
xen/common/sched/boot-cpupool.c +0 -2
@@ -1,7 +1,5 @@/* SPDX-License-Identifier: GPL-2.0-only */ /* -* xen/common/boot_cpupools.c -* * Code to create cpupools at boot time. * * Copyright (C) 2022 Arm Ltd.
xen/common/sched/compat.c +0 -4
@@ -1,7 +1,3 @@ -/**************************************************************************** -* schedule.c -* -*/ #ifndef __COMMON_SCHED_COMPAT_C__#define __COMMON_SCHED_COMPAT_C__
xen/common/sched/core.c +0 -1
@@ -4,7 +4,6 @@ * (C) 2004 - Mark Williamson - Intel Research Cambridge **************************************************************************** * - * File: common/schedule.c * Author: Rolf Neugebauer & Keir Fraser * Updated for generic API by Mark Williamson *
xen/common/sched/cpupool.c +0 -1
@@ -1,5 +1,4 @@/****************************************************************************** -* cpupool.c * * Generic cpupool-handling functions. *
xen/common/sched/credit.c +0 -1
@@ -2,7 +2,6 @@ * (C) 2005-2006 - Emmanuel Ackaouy - XenSource Inc. **************************************************************************** * - * File: common/csched_credit.c * Author: Emmanuel Ackaouy * * Description: Credit-based SMP CPU scheduler
xen/common/sched/credit2.c +0 -1
@@ -3,7 +3,6 @@ * (C) 2009 - George Dunlap - Citrix Systems R&D UK, Ltd **************************************************************************** * - * File: common/sched_credit2.c * Author: George Dunlap * * Description: Credit-based SMP CPU scheduler
xen/common/sched/null.c +0 -1
@@ -1,5 +1,4 @@/* -* xen/common/sched_null.c * * Copyright (c) 2017, Dario Faggioli, Citrix Ltd *
Signature · 1 line
2.34.1
Re: [PATCH v2] xen/sched: remove stale file path comments in common/sched directory
Quoted 11 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.Remove the comments rather than updating them, as they are redundant information already conveyed by the filename itself.
Suggested-by Roger Pau Monné <[email protected]>Suggested-by Juergen Gross <[email protected]>Signed-off-by Furkan Caliskan <[email protected]>
Juergen
Stewart Hildebrand
Acked-byRe: [PATCH v2] xen/sched: remove stale file path comments in common/sched directory
Quoted 6 lines · Jürgen Groß
Quoted 5 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.
Quoted 8 lines
Quoted 6 lines
Remove the comments rather than updating them, as they are redundant information already conveyed by the filename itself.
Suggested-by Roger Pau Monné <[email protected]>Suggested-by Juergen Gross <[email protected]>Signed-off-by Furkan Caliskan <[email protected]>Reviewed-by Juergen Gross <[email protected]>
For ARINC 653:
FYI, we are in the release cycle for 4.22, and I'm not sure this is justified to be included in this release. IMO it would be OK to wait for the next cycle.
Re: [PATCH v2] xen/sched: remove stale file path comments in common/sched directory
Quoted 13 lines · Stewart Hildebrand
Quoted 12 lines · Jürgen Groß
Quoted 11 lines · Furkan Caliskan
Commit
6cb4b01c03("xen/sched: move schedulers and cpupool coding to dedicated directory") moved the scheduler files from xen/common/ to xen/common/sched and renamed some of them, but did not update the in-file path comments at the top of each file.Remove the comments rather than updating them, as they are redundant information already conveyed by the filename itself.
Suggested-by Roger Pau Monné <[email protected]>Suggested-by Juergen Gross <[email protected]>Signed-off-by Furkan Caliskan <[email protected]>
Quoted 6 lines
Quoted 1 line
Reviewed-by Juergen Gross <[email protected]>For ARINC 653:
FYI, we are in the release cycle for 4.22, and I'm not sure this is justified to be included in this release. IMO it would be OK to wait for the next cycle.
Bugfixes are still being accepted, and wrong comments are a bug. I've taken the patch.
~Andrew