From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759468AbcLTVIl (ORCPT ); Tue, 20 Dec 2016 16:08:41 -0500 Received: from mail-yw0-f193.google.com ([209.85.161.193]:36134 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757519AbcLTVIg (ORCPT ); Tue, 20 Dec 2016 16:08:36 -0500 From: Tejun Heo To: lizefan@huawei.com, hannes@cmpxchg.org Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, kernel-team@fb.com Subject: [PATCHSET] cgroup: reorganize cgroup source files Date: Tue, 20 Dec 2016 16:08:19 -0500 Message-Id: <20161220210827.11176-1-tj@kernel.org> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cgroup source files are getting a bit too unwieldy. Let's reorganize them. * Move cgroup files in kernel to kernel/cgroup. * Split cgroup.c into multiple files. The only functional change this patchset causes is loss of a WARN_ON(); otherwise, everything remains identical. This patchset contains the following eight patches. 0001-cgroup-reorder-css_set-fields.patch 0002-cgroup-move-cgroup-files-under-kernel-cgroup.patch 0003-cgroup-move-cgroup-v1-specific-code-to-kernel-cgroup.patch 0004-cgroup-refactor-mount-path-and-clearly-distinguish-v.patch 0005-cgroup-separate-out-cgroup1_kf_syscall_ops.patch 0006-cgroup-move-v1-mount-functions-to-kernel-cgroup-cgro.patch 0007-cgroup-rename-functions-for-consistency.patch 0008-cgroup-move-namespace-code-to-kernel-cgroup-namespac.patch The patchset is available in the following git branch git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-reorg and on top of the following git branch git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup2-procs diffstat follows. Thanks. include/linux/cgroup-defs.h | 54 - kernel/Makefile | 5 kernel/cgroup/Makefile | 5 kernel/cgroup/cgroup-internal.h | 155 +++ kernel/cgroup/cgroup-v1.c | 1395 ++++++++++++++++++++++++++++ kernel/cgroup/cgroup.c | 1940 +++------------------------------------- kernel/cgroup/namespace.c | 155 +++ 7 files changed, 1907 insertions(+), 1802 deletions(-) -- tejun From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: [PATCHSET] cgroup: reorganize cgroup source files Date: Tue, 20 Dec 2016 16:08:19 -0500 Message-ID: <20161220210827.11176-1-tj@kernel.org> Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=Ctg8cUkQnjFURbiTemPscmJ40fOc7o+T+eL/Ugqd3p8=; b=Ml3xu2PAolBMv2waLMi3F6dhvfZoQ7JxTuzJ/bGbvchNagQ1eWfgUjw3xJgA3Ojmua dqplaNcujs/7YgembX/bQfr4dW15/scolImuipCwYU8e2Yf0GCEmHlD+i4rq2HFnsNIF /Ox5cIUvvCPkYKC604lmHVMHzzxMaC2BRaQHb0atGEz2ATWbvYVt9nAq4aAXg/PHPnnI TZpaQmmgnMXabJPkTwqoF5GVohg0OdXvAAB21/Hl3VQvBtDDIJogWjBeUi9HY0i044nA +6EIPpL36fIfp2fjGfKIyTioeJrvYYtwSOOJDO6koKuRozABJlRWo6NSZboL32t8Up4V YEzw== Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-team-b10kYP2dOMg@public.gmane.org cgroup source files are getting a bit too unwieldy. Let's reorganize them. * Move cgroup files in kernel to kernel/cgroup. * Split cgroup.c into multiple files. The only functional change this patchset causes is loss of a WARN_ON(); otherwise, everything remains identical. This patchset contains the following eight patches. 0001-cgroup-reorder-css_set-fields.patch 0002-cgroup-move-cgroup-files-under-kernel-cgroup.patch 0003-cgroup-move-cgroup-v1-specific-code-to-kernel-cgroup.patch 0004-cgroup-refactor-mount-path-and-clearly-distinguish-v.patch 0005-cgroup-separate-out-cgroup1_kf_syscall_ops.patch 0006-cgroup-move-v1-mount-functions-to-kernel-cgroup-cgro.patch 0007-cgroup-rename-functions-for-consistency.patch 0008-cgroup-move-namespace-code-to-kernel-cgroup-namespac.patch The patchset is available in the following git branch git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-reorg and on top of the following git branch git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup2-procs diffstat follows. Thanks. include/linux/cgroup-defs.h | 54 - kernel/Makefile | 5 kernel/cgroup/Makefile | 5 kernel/cgroup/cgroup-internal.h | 155 +++ kernel/cgroup/cgroup-v1.c | 1395 ++++++++++++++++++++++++++++ kernel/cgroup/cgroup.c | 1940 +++------------------------------------- kernel/cgroup/namespace.c | 155 +++ 7 files changed, 1907 insertions(+), 1802 deletions(-) -- tejun