Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp539515ybk; Wed, 13 May 2020 06:45:45 -0700 (PDT) X-Google-Smtp-Source: APiQypLUJ3KNBEDLcdAodEQm6ArAWCEfXoUf8uW5AIJDixY1B2+6381GXFYD7DKzoMsRfyxpos7W X-Received: by 2002:a50:d9cb:: with SMTP id x11mr17051383edj.88.1589377545805; Wed, 13 May 2020 06:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589377545; cv=none; d=google.com; s=arc-20160816; b=jn06Q4rnJX06m446/YxWfX7j5i3G9EwPMXGHkY8SdKnX22m3OCYz6hA3SwpwzROpi1 GQXS9kdsp2zpMPkSGI8vDaqgpU3fVzrwZZ6zIh9Lg0VyPfXW5It+fuQleYNrBxtZ8mUi RdS5mUqioKPGRx55WxZwpQQj8ZsWAytrBMetzEHyoW95U5XKcG1JXAuvfHn7j7Pfcku5 e0fLDbZMjImgz75ZSCWC9LHYFN5qYS0U72LdR7p3h0T2/PJxuLoHxcwPQXM7fSfYMBkg 24INwdu6I5lXrmBuA5QgUZZAuLGIsgQBFS962H+YTOSjxme5R8wR9SkyZ6iGHgjY1Ayl 6jTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=aUaq+FTPLwUj6E+pCwoQEQ6JV9QgxALeXAkDkFOPR7g=; b=s1oYtFnP22ALzj8Z0sTCtZBfPxkAM/ZgYZeBU8EUAfaXcY8DjAbswt75zxGTMNA/Ts c7gWPI7s3aVxF1szRTA2SPBMl/D4FZEYzvaCSH9R8P/3wKnnJxVfRIj7eh/CLrF99cIP IaiIwGdn1WGs56t5w0/94KSTBH2t54qdwCGmiaZfKYyRJBYctZbrqH5tRYzXiIczXxr9 APH75iMzrtbCkBzW6x5a6L7jYqEy4aCwzJnwb4jR07ea1GKq2TZ4e+ZOTY0fb/sXANM8 8pr7XfRsaTBq3MMMZBIj/O0+8v6OA/ERpiXBdYdhnbrp3P6Fn7CUnupJhmcphzTI9Yat TLyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@unikie-com.20150623.gappssmtp.com header.s=20150623 header.b=gBh6jXYD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si9040831ejm.465.2020.05.13.06.45.22; Wed, 13 May 2020 06:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@unikie-com.20150623.gappssmtp.com header.s=20150623 header.b=gBh6jXYD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388339AbgEMNn4 (ORCPT + 99 others); Wed, 13 May 2020 09:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388063AbgEMNnx (ORCPT ); Wed, 13 May 2020 09:43:53 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3EAEC061A0E for ; Wed, 13 May 2020 06:43:52 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id s9so13665282lfp.1 for ; Wed, 13 May 2020 06:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aUaq+FTPLwUj6E+pCwoQEQ6JV9QgxALeXAkDkFOPR7g=; b=gBh6jXYDqujE825pU+j4iL/+SPPrN3a5c0dt6G1hkUDBowbG+9aqlqYvKsY4df8k6x ZUj7Ht+pPqQ0eEEX7B0FCwKQ+zCUJqc4tXVfQ0V/EuzpYgG2LxpGdZImzetVEXzIH3JC tKLdjRv6THnXJZzRdYkx+HfejLWUuUoRPlFhoi8M5niVg0o0LjoX/KD7VCDFGPu9Xdn6 SldZsUhBTjf0a3Nxvg92rjgvv8Pb2yLkKrNTXiCNsZsNGzcyq2GWQHVgp4LqGh5u4S0B +qjnUhPjLFhPfHjLx0+uZJRygFe+qo0kpg/K6f70T5ULVE4lwFgB9OablCG3sk622oIH AeRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aUaq+FTPLwUj6E+pCwoQEQ6JV9QgxALeXAkDkFOPR7g=; b=iyQF/PG01wZOBDf4wSh9Q16XHsAILzftZC7GojtMHGN91pm3hGVxe26NMJmVMBoYbR /5vSRvkcz0Oj6pMhseDQWgj1w9R8NXpKUzW2YskKXqDWyVpw9C2Pnahu5Ws0NP0lfZjj 3tXWsSC+gxOAkHXWJrGyQwDFjglDjAmMNPfQkwhFtCP3U6z9UUB6rOpwgc0T1FY5F4Cm rcvvdZEgmQMrSRHhJFi+MNiRjhfSGvPjRWSj7q7V/C55QWhdHE8e5+rSMYP028tNKGU+ 7X499BCvNrol63OwT8ptA9PZ7xr+vUk1LhvcT4kNmjI+WMZvZkoVL88MZM790XqEpnWf II5Q== X-Gm-Message-State: AOAM533OdN2/XkwAiEY4ggNr1xEXd7hYI7U9BxHHUs6herX1K706aWKG 1xh9NnvhujrAFmdsUQzwOVXOIA== X-Received: by 2002:a05:6512:455:: with SMTP id y21mr18596130lfk.202.1589377431091; Wed, 13 May 2020 06:43:51 -0700 (PDT) Received: from localhost.localdomain ([109.204.235.119]) by smtp.googlemail.com with ESMTPSA id t16sm17441367lff.72.2020.05.13.06.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 06:43:50 -0700 (PDT) From: john mathew X-Google-Original-From: john mathew To: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, corbet@lwn.net, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, tsbogend@alpha.franken.de, lukas.bulwahn@gmail.com, x86@kernel.org, linux-mips@vger.kernel.org, tglx@linutronix.de, mostafa.chamanara@gmail.com, willy@infradead.org, valentin.schneider@arm.com, john mathew Subject: [RFC PATCH v4 0/3] Add scheduler overview documentation Date: Wed, 13 May 2020 16:43:35 +0300 Message-Id: <20200513134338.19688-2-John.Mathew@unikie.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513134338.19688-1-John.Mathew@unikie.com> References: <20200513134338.19688-1-John.Mathew@unikie.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org version 4: -Added section on Capacity-Aware Scheduling -Reworded CFS recently added features. -Removed vruntime description from scheduler structs -Added description of idle and stopper sched classses version 3: -Fix spelling, spacing and typo errors. version 2: - Remove :c:func: directive as it was redundant - Limit document width (line symbol count) to 75 - Replace dot file with ASCII art - Describe prepare_task_switch(), ASID use, kernel/user transtion, MIPS FPU affinity correctly - Add missing references to files - Removed internal APIs from scheduler API reference - Described 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: scheduler: Restructure scheduler documentation. docs: scheduler: Add scheduler overview documentation docs: scheduler: Add introduction to scheduler context-switch Documentation/scheduler/arch-specific.rst | 14 + Documentation/scheduler/cfs-overview.rst | 102 ++++++ Documentation/scheduler/context-switching.rst | 125 ++++++++ Documentation/scheduler/index.rst | 33 +- .../scheduler/mips-context-switch.rst | 89 ++++++ Documentation/scheduler/overview.rst | 293 ++++++++++++++++++ Documentation/scheduler/sched-cas.rst | 90 ++++++ .../scheduler/sched-data-structs.rst | 182 +++++++++++ Documentation/scheduler/sched-debugging.rst | 14 + Documentation/scheduler/sched-features.rst | 21 ++ Documentation/scheduler/scheduler-api.rst | 31 ++ .../scheduler/x86-context-switch.rst | 65 ++++ kernel/sched/core.c | 28 +- kernel/sched/sched.h | 169 +++++++++- 14 files changed, 1236 insertions(+), 20 deletions(-) create mode 100644 Documentation/scheduler/arch-specific.rst create mode 100644 Documentation/scheduler/cfs-overview.rst create mode 100644 Documentation/scheduler/context-switching.rst create mode 100644 Documentation/scheduler/mips-context-switch.rst create mode 100644 Documentation/scheduler/overview.rst create mode 100644 Documentation/scheduler/sched-cas.rst create mode 100644 Documentation/scheduler/sched-data-structs.rst create mode 100644 Documentation/scheduler/sched-debugging.rst create mode 100644 Documentation/scheduler/sched-features.rst create mode 100644 Documentation/scheduler/scheduler-api.rst create mode 100644 Documentation/scheduler/x86-context-switch.rst -- 2.17.1