From patchwork Wed Jun 14 17:19:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 105564 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp399569qgd; Wed, 14 Jun 2017 10:19:46 -0700 (PDT) X-Received: by 10.98.219.5 with SMTP id f5mr1070789pfg.2.1497460786620; Wed, 14 Jun 2017 10:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497460786; cv=none; d=google.com; s=arc-20160816; b=mVQzORhsE/nDJjz31h56OBJfQjiBTihmTbVqMoIoeu2+0eBRqLy7RoCzXc3Qz6zVw2 qhwnoGjnsMvrLyOwvRXT0gC/x/YgK8abbvWxg4G7LTg3Ouq+nC0yvgNzSuFZlKQwBEFZ wVAievgesSVUdHnC8ZWXjWRx6+3yw8WIzIBS0iTULPWPtcoWx5Ux4Duar65g7EyI4MUK xb8rQV3RxL/UlNl+PFCa8FhGVETfnoc9jsThdC3ewsuPnML/5Waep0qn1+sgw+T4pyM9 MRIipSEE5z8FMCFBWFc0aQWXUrbfYdP4+WnCxxh3sA1CvvIqZh7iWQIYoBEo/J0x4V7U SJ7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=QvS8C/sA7u4P1P3fzTzslnYhejfjhZPS4BEruiNsLiQ=; b=oMsBuzzdnN72YNPaNkF5Ww/a41Dzz/oGq8W3hYfRYwKfE+Kzb5V5QIcAm9KOscA+x5 MYWBuTn2wRGBDz7HEEsEZB8E7l+0flMqUSJmwu7KVPl0H9ex1Fhp6Vgv4J4xYGR26Xf+ kCCojd4T0u21p3tK0crdeDKP8DKoSiuthVHY5u+ORhTt70nNFbnaWSlSRxgzHYXbgv2b dN9aWYGA6qZSGf+feEsgeGyYTMISP5Rjn6b7sZ5k3RSQn7Bqek3WTf2yuIqzW4h9jKmb caEUPi4afXwebrF7SZ1uRpkrvuTyb1YXjd/QPeLV16A/EbGRrordWh9U5DQ5hiXiBOxf rQjw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si353064pfj.378.2017.06.14.10.19.46; Wed, 14 Jun 2017 10:19:46 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752582AbdFNRTj (ORCPT + 25 others); Wed, 14 Jun 2017 13:19:39 -0400 Received: from alt32.smtp-out.videotron.ca ([24.53.0.21]:10021 "EHLO alt32.smtp-out.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbdFNRTf (ORCPT ); Wed, 14 Jun 2017 13:19:35 -0400 Received: from yoda.home ([96.23.157.65]) by Videotron with SMTP id LBx7dDbwNVPYrLBx8dAtu4; Wed, 14 Jun 2017 13:19:34 -0400 X-Authority-Analysis: v=2.1 cv=db8gpSje c=1 sm=1 tr=0 a=keA3yYpnlypCNW5BNWqu+w==:117 a=keA3yYpnlypCNW5BNWqu+w==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=LWSFodeU3zMA:10 a=ceSZS83XZN4_B1VnFVQA:9 Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id D91322DA04AD; Wed, 14 Jun 2017 13:19:32 -0400 (EDT) From: Nicolas Pitre To: Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] some scheduler code movements and small cleanup Date: Wed, 14 Jun 2017 13:19:22 -0400 Message-Id: <20170614171926.8345-1-nicolas.pitre@linaro.org> X-Mailer: git-send-email 2.9.4 X-CMAE-Envelope: MS4wfEUWuwLML1qplwWyIh1Sut8ch0T0csjfS4QLYtoF6TffCcayrGIG5RZrtxN5TYzuaJhrMwXg1EibHIS9+tzGtO8OEHwgesI/S75UxGzM9dHZO+O6FAXj t6rUFL/AeSU7LWlQbmxjFBEQPV4kLNmvpENH3tGR+V3eMi9kKFbP2q+h4Bsxd7YeSNClmCLRp4NakkJfuAaJkpPiLIfP9HcsPP8/tci2Nh6H/XAr6J6JLuY3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Jun 2017, Ingo Molnar wrote: > So I'm fine with most of the code movement - let's try this series > without any of the more controversial bits which should make future > arguments easier. Here it is. Big diffstat due to code movement which should untangle scheduler classes from common code some more, and isolating PI futex support, with the net effect of reducing the common code file size. Sidenote: I just discovered that the default git diff algorithm produces awful results with this series at least, with 1270 extra diff lines compared to the output from the patience or minimal diff algorithms. Using --diff-algorithm=minimal produces a much saner diffstat, way more representative of the actual changes in this case. include/linux/futex.h | 7 +- init/Kconfig | 8 +- kernel/futex.c | 1559 +--------------------------------------- kernel/futex_pi.c | 1563 +++++++++++++++++++++++++++++++++++++++++ kernel/sched/core.c | 655 +---------------- kernel/sched/deadline.c | 336 +++++++++ kernel/sched/rt.c | 310 ++++++++ kernel/sched/sched.h | 19 + 8 files changed, 2272 insertions(+), 2185 deletions(-)