Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp991395imm; Fri, 22 Jun 2018 08:34:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIxaNaV563HFrgeFOzuGcdaPbgsGsiuvsSr8O1c4A5qCnx8zAwBZSpaSQQu86x7H5gerz5O X-Received: by 2002:a63:7d06:: with SMTP id y6-v6mr1879266pgc.356.1529681649732; Fri, 22 Jun 2018 08:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529681649; cv=none; d=google.com; s=arc-20160816; b=XqVlulAJ4czYhriRm+bRf4Dxd2bz36bQo/kWAiMcmGvyzvLOHTD6cFsNlncVbvH9B8 iABhhFowXu6h70K6dj3n2JrjTMUa8DiSoaswPe1EUrVjj5t3cGU9wkiFAPxI4f8z6VnJ Vayu7a/QOXNb7Moo3b74udvHw4phHqGq4WjayVDZ5EQVQ2epExFmFtZZFZwgBNSNQ/C5 dmtqvsgm5WLSQEJm3uy6Aa+4hZfJ2nm8pnEjDI1ALeI3eOyaC5KBmPhvQtEgpFWZzs6+ adrxdGK22mGx1GxXJhHOH1pNbhAB54jMfAiKfiCVRSYBlcw2XXnbr/0HmWNdt/ECkdwb y5CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=m5sDkOrowZ7p5azamMEy7PNnKltSp+i4E1x4hsELeFY=; b=I/EhLINvDhfsnodqMRoGzMcZc/tD7OZRlOiZmTU53xqWUFbs33GLJMqUjW+YKBJ/Hf /YQiKDBCSjrYJAl7e+f8ZK/6NVhPnEXOw8nX9lWdo52CnUbrgfgJzDwLfXw/X95UqJUN rFt5pZMxMuYl5fCbxVpFYD0njotVuiQW1yyEOCCBYbI08RVOBzFzC9pB1S7KicAD7F6d 08fVVt5dGPCjq8tU5QIROyD3YcaP1gkplDoaZjgPMkeTSTpI2d/+B8M8IQ5c9jZVnEfL U4tBByEDANzkaC0DmrBOLYs9uXQWCq+W8IqmtmkCmigu4+zesgq6WInwek0fGYbUSdll EVDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=QK81fTW9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f71-v6si7474639pfc.316.2018.06.22.08.33.50; Fri, 22 Jun 2018 08:34:09 -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; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=QK81fTW9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933863AbeFVPaw (ORCPT + 99 others); Fri, 22 Jun 2018 11:30:52 -0400 Received: from mail-eopbgr20119.outbound.protection.outlook.com ([40.107.2.119]:46796 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933304AbeFVPau (ORCPT ); Fri, 22 Jun 2018 11:30:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m5sDkOrowZ7p5azamMEy7PNnKltSp+i4E1x4hsELeFY=; b=QK81fTW9diSldUjxd9ZHWGosKx49YS+fc0rypD9lsvfj4Zcblp7TS0py9BcPsTyVBrTGzdWoDLJbK0KOAqibrYNTzCbYKKBcuIVARVfZyGHTYRKCGQRaA1W/M9FpVfP6mgU7FhR10Ki/KDhT2sAlY1sSVB3Gy61zDafLWpCcxH8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=avagin@virtuozzo.com; Received: from outlook.office365.com (73.140.212.29) by AM6PR08MB3254.eurprd08.prod.outlook.com (2603:10a6:209:47::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.19; Fri, 22 Jun 2018 15:30:45 +0000 Date: Fri, 22 Jun 2018 08:30:30 -0700 From: Andrei Vagin To: David Howells Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Tejun Heo Subject: Re: [16/32] kernfs, sysfs, cgroup, intel_rdt: Support fs_context [ver #8] Message-ID: <20180622153029.GA3070@outlook.office365.com> References: <20180621184754.GB21326@outlook.office365.com> <152720682792.9073.14747437198191460035.stgit@warthog.procyon.org.uk> <29799.1529671936@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <29799.1529671936@warthog.procyon.org.uk> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [73.140.212.29] X-ClientProxiedBy: MWHPR12CA0044.namprd12.prod.outlook.com (2603:10b6:301:2::30) To AM6PR08MB3254.eurprd08.prod.outlook.com (2603:10a6:209:47::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3015f9f4-d50b-4251-9a29-08d5d8552025 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(2017052603328)(7153060)(7193020);SRVR:AM6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LyzCXsVWlO1lBFDRV8nh+PLjnixCWe+IUFrkK3/ZHfJdvvoUlVdTcXARpBQC8iiDFfZ+wo0gFJnnODJBUTBkBBQab8a/LfCvSJMXltPxGm+SGuDsQX1+DfSrOZQ4qsM9KihXO+D/k5xnPRI7aaL6qOIjO9HilLlgNRE8eD80jLxv7HD++8f0RaGZQKv+V6GgNtl9ZxtBqhvMSnM3TTrfptEbWC7xHnesIHuGG5W/WTVILUl5lJK2qvy0k/alMUoW6EZJdHz0pTGvoB3ry5q/U21nYA1wX7DysRcEk+forXT7d6q6QDPfRVwMz7HDUyrdb8Om/cSs9klbCoWP5ZQFyvPJZe/zpVWjVtmOWAF+Mx6e1yZyXkzJRJLobUUc3u7rzDSO4O/FU6BtM;4:tX3+8PEfSF0yAbKEiQVXebUkaeEJhGg4rKC6ym5zUtDOY9aHJ/rR48FTRboJ0DYKxnAPXOV6LAY62hNafAqi2hrbUB7qDNXZNgcYqEWFc93yxCFMXd0/W7G10UmYIyBLf7W02YEGSW6gyIP/QjVokRWyES88HWr13nEkYsrp6z9YnUCN11ii4htLbXnvOMI9VKVLm1T3rD+K/exlsKnsDSG00Gbom/kAMc1oiHeisX6TYZGIlFh0CkHUUMYY6AXNLLe2Zyf/al7IxbFnA0+F3Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:AM6PR08MB3254;BCL:0;PCL:0;RULEID:;SRVR:AM6PR08MB3254; X-Forefront-PRVS: 071156160B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(366004)(39850400004)(396003)(346002)(39380400002)(376002)(199004)(189003)(476003)(11346002)(23686003)(55016002)(316002)(53416004)(16586007)(106356001)(66066001)(33656002)(68736007)(105586002)(1076002)(486006)(6116002)(8936002)(81166006)(6246003)(50466002)(8676002)(3846002)(956004)(446003)(478600001)(53936002)(58126008)(4326008)(229853002)(25786009)(9686003)(81156014)(5660300001)(305945005)(6916009)(26005)(6666003)(69596002)(7736002)(97736004)(6506007)(386003)(76176011)(52116002)(186003)(16526019)(7696005)(47776003)(2906002)(86362001)(18370500001);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR08MB3254;H:outlook.office365.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?koi8-r?Q?1;AM6PR08MB3254;23:uqLTvU65hX3F33V8jliyNKaoSDqt63LV5O4SCPeF6yM?= =?koi8-r?Q?CwKtnSra1cYLBUlWFrValGcWkdqa4A/jNJtN4i01ne3UiY1f2uCLNbY7xYf1dj?= =?koi8-r?Q?O07akvlVCKH0hooJhHgWNdrr0oGlsKgpGG0OwvFvqO/WZzUaT2yDTCm/tNri6Y?= =?koi8-r?Q?w7MG6AJjr70hUZZut1VPchaUZQdZkjzrpStQQ580zqL+EfkEY+2+c8jQ/2fbiv?= =?koi8-r?Q?DmF10uAZNEKKxwXJZwSjtCfScRKWwYDqr9eAbeBR/XfBZ/DgQonjgBP+/UaXz5?= =?koi8-r?Q?g/2C6z/Vi1TyyHbVNNhIJtgGws4S0oYOW9gOGZGF+8qonzryH00zwlmDmBkV4u?= =?koi8-r?Q?pCzn8QPxMRg77CjeMn2Z/H521nrebrwvWlq9nzuOt2ihKiJDZBXF8FyeyAk1yJ?= =?koi8-r?Q?Dw5Pz5OgRQAXJs3I1ew52I1eIggcsVPKH45JJJeyUSYrNKNt5oEhZ6ruS/YRdT?= =?koi8-r?Q?rfTiP39HfDXA1khsGRB5o1rObZLywuqxGUwoal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U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3254;7:YDOR4ocsxodRUsMh5t5B1Ra3Wl9tYGPFnU5CqNnDI1YxzENqMSRzzePLXShG4G5lLMfQWPmEFvBK2Zxb3hAXNZ9wVcUgLPflVId6wYwx7jsz/E57hpNsIeGfKCvZ1v4b5ecR4rrwKAmYX1VYkz+Tdnc5ITNhJI6K6RpGxnwuKy+hxJ6glVYl4Y8r44y1MPen+X7tEzV5a3xRxdQs5kChVmIeJ4PZioa/EfUY1hvAYxdSeZG+qisQ2mctO5Wt8VdW;20:8Yow8PKZ1jjz4H5gfzicxljy1miwonmCzTp0/n8zfKVopM741SZGFJdIkF6hwcr6JNaS82MofrM7uEizJmJ4duJC6hJsDNfpnM7nC47XHzv2A3qAlQxAsnAtPDXIeHaSsrmsTuhvE53703N5CvbiQMfqn1pNF+aT+VGNbKdk/TU= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2018 15:30:45.0010 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3015f9f4-d50b-4251-9a29-08d5d8552025 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3254 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 22, 2018 at 01:52:16PM +0100, David Howells wrote: > Andrei Vagin wrote: > > > ret = 0; > > + ctx->root = root; > > goto out_unlock; > > Okay, I can see that. > > > percpu_ref_reinit(&root->cgrp.self.refcnt); > > mutex_unlock(&cgroup_mutex); > > } > > + cgroup_get(&root->cgrp); > > This probably needs to be conditional on ret == 0. yes, you are right > > Which version are you testing btw? The patches in git have been fixed a > little from what was last posted. I'm testing linux-next-20180621 commit 8439c34f07a3f58245e933ca2703239417288363 (tag: next-20180621, linux-next/master) Author: Stephen Rothwell Date: Thu Jun 21 14:09:41 2018 +1000 Add linux-next specific files for 20180621 Signed-off-by: Stephen Rothwell > > David