[RFC PATCH v8 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-09-02 Thread John Mathew
Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John Mathew

[RFC PATCH v8 1/3] docs: scheduler: Restructure scheduler documentation.

2020-09-02 Thread John Mathew
Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off-by: John Mathew

[RFC PATCH v8 0/3] Add scheduler overview documentation

2020-09-02 Thread John Mathew
member as kernel-doc comments - Replaced CFS history with CFS current status - Added documentation for sched_class fields - Refined explanation of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler

[RFC PATCH v8 2/3] docs: scheduler: Add scheduler overview documentation

2020-09-02 Thread John Mathew
-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John Mathew --- Documentation/scheduler/cfs-overview.rst | 59 Documentation/scheduler/index.rst | 3 + Documentation/scheduler/overview.rst | 294 +- .../scheduler/sched-data

Re: [RFC PATCH v5 2/3] docs: scheduler: Add scheduler overview documentation

2020-06-23 Thread John Mathew
On Fri, May 29, 2020 at 2:00 PM Peter Zijlstra wrote: > > On Thu, May 14, 2020 at 12:26:36PM +0300, john mathew wrote: > > > += > > +CFS Overview > > += > > + > > +Linux 2.6.23 introduced a modular scheduler core and a Completel

Re: [RFC PATCH v5 2/3] docs: scheduler: Add scheduler overview documentation

2020-06-05 Thread John Mathew
On Fri, May 29, 2020 at 5:48 PM Vincent Guittot wrote: > > On Thu, 14 May 2020 at 11:26, john mathew wrote: > > > > From: John Mathew > > > > Add documentation for > > -scheduler overview > > -scheduler state transtion > > -CFS overv

Re: [RFC PATCH v5 2/3] docs: scheduler: Add scheduler overview documentation

2020-06-05 Thread John Mathew
On Fri, May 29, 2020 at 2:00 PM Peter Zijlstra wrote: > > On Thu, May 14, 2020 at 12:26:36PM +0300, john mathew wrote: > > > += > > +CFS Overview > > += > > + > > +Linux 2.6.23 introduced a modular scheduler core and a Completel

[RFC PATCH v7 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-06-05 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

[RFC PATCH v7 2/3] docs: scheduler: Add scheduler overview documentation

2020-06-05 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

[RFC PATCH v7 0/3] scheduler: Add scheduler overview

2020-06-05 Thread john mathew
struct member as kernel-doc comments - Replaced CFS history with CFS current status - Added documentation for sched_class fields - Refined explanation of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler

[RFC PATCH v7 1/3] docs: scheduler: Restructure scheduler documentation.

2020-06-05 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

Re: [RFC PATCH v5 0/3] Add scheduler overview documentation

2020-05-28 Thread John Mathew
On Mon, May 25, 2020 at 7:35 PM Jonathan Corbet wrote: > > On Thu, 14 May 2020 12:26:34 +0300 > john mathew wrote: > > > This patch series updates the scheduler documentation to add more topics > > wrt to scheduler overview. New sections are added to provide a brief &g

[RFC PATCH v6 0/3] Add scheduler overview documentation

2020-05-27 Thread john mathew
explanation of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction

[RFC PATCH v6 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-27 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

[RFC PATCH v6 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-27 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

[RFC PATCH v6 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-27 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

Re: [RFC PATCH v5 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-27 Thread John Mathew
On Tue, May 26, 2020 at 1:26 PM Srikar Dronamraju wrote: > > * john mathew [2020-05-14 12:26:37]: > > > + > > +Context Switching > > +- > > + > > +Context switching, the switching from a running task to another, > > +is done by th

[RFC PATCH v6 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-27 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

[RFC PATCH v6 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-27 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

[RFC PATCH v6 0/3] Add scheduler overview documentation

2020-05-27 Thread john mathew
explanation of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction

[RFC PATCH v6 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-27 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

[RFC PATCH v5 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-14 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

[RFC PATCH v5 0/3] Add scheduler overview documentation

2020-05-14 Thread john mathew
of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction to scheduler context

[RFC PATCH v5 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-14 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

[RFC PATCH v5 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-14 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

Re: [RFC PATCH v4 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-14 Thread John Mathew
On Wed, May 13, 2020 at 5:03 PM Valentin Schneider wrote: > > > On 13/05/20 14:43, john mathew wrote: > > += > > +Capacity-Aware Scheduling > > += > > + > > Thanks for taking a jab at this. At a glance

[RFC PATCH v4 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-13 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

[RFC PATCH v4 0/3] Add scheduler overview documentation

2020-05-13 Thread john mathew
rq struct member as kernel-doc comments - Replaced CFS history with CFS current status - Added documentation for sched_class fields - Refined explanation of context swtich functionality - Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs

[RFC PATCH v4 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-13 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

[PATCH] Fixes

2020-05-13 Thread john mathew
--- Documentation/scheduler/cfs-overview.rst | 113 ++-- Documentation/scheduler/sched-cas.rst | 74 .../scheduler/sched-data-structs.rst | 163 +- Documentation/scheduler/sched-design-CFS.rst | 20 +++

[RFC PATCH v4 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-13 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

Re: [RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-13 Thread John Mathew
On Fri, May 8, 2020 at 1:58 PM Dietmar Eggemann wrote: > > On 07/05/2020 23:15, Valentin Schneider wrote: > > > > On 07/05/20 19:05, John Mathew wrote: > > [...] > > > It would also be an opportunity to have one place to (at least briefly) > > describe

Re: [RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-13 Thread John Mathew
On Fri, May 8, 2020 at 1:19 PM Dietmar Eggemann wrote: > > On 07/05/2020 20:05, John Mathew wrote: > > [...] > > > diff --git a/Documentation/scheduler/cfs-overview.rst > > b/Documentation/scheduler/cfs-overview.rst > > new file mode 100644 > > index 0

Re: [RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-13 Thread John Mathew
On Fri, May 8, 2020 at 12:15 AM Valentin Schneider wrote: > > > On 07/05/20 19:05, John Mathew wrote: > > Add documentation for > > -scheduler overview > > -scheduler state transtion > > -CFS overview > > -scheduler data structs > > > >

[RFC PATCH v3 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-07 Thread John Mathew
-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John Mathew --- Documentation/scheduler/cfs-overview.rst | 113 Documentation/scheduler/index.rst | 7 +- Documentation/scheduler/overview.rst | 266 ++ .../scheduler/sched-data

[RFC PATCH v3 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-07 Thread John Mathew
Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John Mathew

[RFC PATCH v3 0/3] Add scheduler overview documentation

2020-05-07 Thread John Mathew
- Replace CFS history with recent changes - Added kernel-doc comments for struct rq John Mathew (3): docs: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction to scheduler context-switch Documentation/scheduler

[RFC PATCH v3 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-07 Thread John Mathew
Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off-by: John Mathew

Re: [RFC PATCH v2 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-07 Thread John Mathew
On Thu, May 7, 2020 at 6:41 AM Randy Dunlap wrote: > > Hi-- > > On 5/6/20 7:39 AM, john mathew wrote: > > From: John Mathew > > > > Add documentation for > > -scheduler overview > > -scheduler state transtion > > -CFS overview > > -sch

[RFC PATCH v2 2/3] docs: scheduler: Add scheduler overview documentation

2020-05-06 Thread john mathew
From: John Mathew Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off

[RFC PATCH v2 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-05-06 Thread john mathew
From: John Mathew Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John

[RFC PATCH v2 1/3] docs: scheduler: Restructure scheduler documentation.

2020-05-06 Thread john mathew
From: John Mathew Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off

[RFC PATCH v2 0/3] Add scheduler overview documentation

2020-05-06 Thread john mathew
- Added kernel-doc comments for struct rq - Mention SCHED_DEADLINE and add pointer to sched-deadline.txt John Mathew (3): docs: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction to scheduler context-switch