Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1016302imu; Tue, 20 Nov 2018 10:15:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjWJGorL8oRWsGByuyHuRU6gGK/jsqD5pHMTOKWBGpRMENmfEErgYy2Qs0jLRFdSJlwTpS X-Received: by 2002:a63:36c4:: with SMTP id d187mr2818244pga.404.1542737723009; Tue, 20 Nov 2018 10:15:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542737722; cv=none; d=google.com; s=arc-20160816; b=s+J3cd4uCRAOi8BSkz+wEWHYPrbdEfiEYKaVrs8Un9diKIDz0DWC5G2Vlanlz1RcNe Mgcgyn59FyQWaSibe+hePVbRTEL5NsCnryz2G99rcumVTPsOY2ZvNLsLVSm1xzjqtaal A063Y5juXQrq6cH05weeENSgpglREVVpDPBG/7lTr8frwSJ+YxByKGkUnT8Hoxdv4vwi aUcg55/XRlytHY7kxOio3F/iFTOXi48dlMCd9VgdAoV5fCwyBgMZ9DbnnFEx2aYIcZYA x3k0vorIRW1nYat0zD0GOuf5HVpYB3Jg4nJ6J0izhCnfGpfStYQ4G/9E/FqGMlurIReu thyg== 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; bh=+t+81k53tdFipDv2ud95fDfZGjbt+4BRB+rvgDb+vgE=; b=oEWAb74Y2txNP19AyGsRPLS3yAer54w1iHZnWzvpm+9t4yFORlIBb8iyXVkrOLMziW m9CHTLY97Q1jY8KVe8BcnSR8nQOIYUkg+Vq1xYXF1hXcbc3iNEUJYdBRAicbb9DenYQ3 vd86ocO2H4icwxk33toEE8f7sYFYWADpbbxXxL3FG5PZVC4V/0D3EIa6T0mwOHd+IfFQ A5WTYRVZkB81WNsFtFeoc/GiOBmVIeLjEPS90DqQjUWNIi0iZw7Y4joS2BL4+Ly0Td+h ZI5p+ROPvrEm4xQMoZ76rHcaMUkIeFSwXaMiiCy5pp3t+3LEtxQJSxfL8amEC54N/Kkv 0kIw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si13863883pgf.527.2018.11.20.10.15.01; Tue, 20 Nov 2018 10:15:22 -0800 (PST) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729864AbeKUEWi (ORCPT + 99 others); Tue, 20 Nov 2018 23:22:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46064 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729719AbeKUEWh (ORCPT ); Tue, 20 Nov 2018 23:22:37 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 910FB88313; Tue, 20 Nov 2018 17:52:15 +0000 (UTC) Received: from llong.com (ovpn-120-174.rdu2.redhat.com [10.10.120.174]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A08F648A8; Tue, 20 Nov 2018 17:52:13 +0000 (UTC) From: Waiman Long To: Tejun Heo , Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar , Jonathan Corbet Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Roman Gushchin , Jens Axboe , Andrew Morton , Dennis Zhou , Shakeel Butt , Waiman Long Subject: [PATCH v4 3/5] cgroup: Make debug controller report new controller masks Date: Tue, 20 Nov 2018 12:51:27 -0500 Message-Id: <1542736289-31338-4-git-send-email-longman@redhat.com> In-Reply-To: <1542736289-31338-1-git-send-email-longman@redhat.com> References: <1542736289-31338-1-git-send-email-longman@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 20 Nov 2018 17:52:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added cgroup controller masks (subtree_bypass and enable_ss_mask) are now being reported in the debug.masks controller file. Signed-off-by: Waiman Long --- kernel/cgroup/debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/cgroup/debug.c b/kernel/cgroup/debug.c index 5f1b873..176bb9e 100644 --- a/kernel/cgroup/debug.c +++ b/kernel/cgroup/debug.c @@ -263,6 +263,8 @@ static int cgroup_masks_read(struct seq_file *seq, void *v) cgroup_masks_read_one(seq, "subtree_control", cgrp->subtree_control); cgroup_masks_read_one(seq, "subtree_ss_mask", cgrp->subtree_ss_mask); + cgroup_masks_read_one(seq, "subtree_bypass", cgrp->subtree_bypass); + cgroup_masks_read_one(seq, "enable_ss_mask", cgrp->enable_ss_mask); cgroup_kn_unlock(of->kn); return 0; -- 1.8.3.1