Received: by 10.223.185.116 with SMTP id b49csp21234wrg; Tue, 20 Feb 2018 15:03:34 -0800 (PST) X-Google-Smtp-Source: AH8x226hoqwxSvzq2AJe9BNcr3nOTamjgGsCHMR/yN51mvyPu653vX1dZyDjJFIpcthwHhBOXobZ X-Received: by 10.98.112.70 with SMTP id l67mr1186160pfc.196.1519167814272; Tue, 20 Feb 2018 15:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519167814; cv=none; d=google.com; s=arc-20160816; b=LsFU+JgwsAorXWvXAjhjFGknTpO1+O+XnN6BjzvDhvOJvQxb76QWJWOTiKXquuf2Zm vzCpvkNXz3GcjgU1kIWNQdHKx/92Ji6ODwlW6ugQVPT7j1HLBIItS3o4zOIB+CC4Oy27 drfOna0G4Fe9aQ0+WziyFgfm4U+/djFKkFGMS+Q4ieyEPxkPHoN7And9JBWNVI1pAyPH rDUDwYeyyede4HzMFIUnedxe7T/2veZTNbDeH8Jewk5lgWS98SU0iQhudkZeLFJAMdeK DUSMbcaww8CB6txo3esLEwW/7/nGhOgrlKMDx3ItkTm2UiODhkPEMrZcrSta8fE46mYy XqsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=aTWLfzW7YpEXHuPE2ibNPXPXjXrndny8WZ9daDTYre0=; b=k+HtW0sKgQd9klQLx6WAiT+I+SQnOTRvwMY9RB6+RXsp7ZE6k3fTGII/VKqtlVB9Y0 rN6cvkmDSLdNXJwLkaVtPB4dFMpk8Fdlr/lrExgSiGuTsyHJKFeqxtSyWXfYDTfWmxHA wHwIYrXv4azk+KLS9VAZJqjrjRSo6UuVE0Q3Qx1qxBU7NnTk27YwqZXmtgeIiUN+eA4N oB8jpCzR8oJ0nKNl1HAxivvErVyl7GNtKwJreZIuSKTfnFpP8r7GYrlDC+dSjPgpkW3V UrOOWeBav+A9tP8aR06zXvFmlx1HGydD2+uezoxPwOCi7ywMk2sHiKKQuazxo++v4buk UtQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Yb48SZlo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si3229929pgc.333.2018.02.20.15.03.00; Tue, 20 Feb 2018 15:03:34 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Yb48SZlo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751669AbeBTXBl (ORCPT + 99 others); Tue, 20 Feb 2018 18:01:41 -0500 Received: from mail-qk0-f182.google.com ([209.85.220.182]:35338 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751640AbeBTXBk (ORCPT ); Tue, 20 Feb 2018 18:01:40 -0500 Received: by mail-qk0-f182.google.com with SMTP id s188so8989021qkb.2; Tue, 20 Feb 2018 15:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=aTWLfzW7YpEXHuPE2ibNPXPXjXrndny8WZ9daDTYre0=; b=Yb48SZloABoYSokVBK+3U1VBzR1VFY7nB3pMMYCtgmDbepadHVNqUZrIcbksLjLJYy srDBKfqtnZQKMNbKiC+3ix0nzsNVoQvlgDVrT3WnezJ4g0ehY8kftEEA89ThmNI4y4Ja 45ihONodSRlJTZZiHDz2I2ZYOuhruO/P+34AcAqtkQtwMaMlgg5jZXQbMyHH3t7akkFr qh+ZduGk84V0eSPLmXTw9qUfQg0Xy0wVh7+BDHJ73SFX3aZNmNUFuuOmMaTSKA1i4q/1 27WfgV8vUsF+kIjmJLHeVf2HSYtA6lHCA6L5Xv6yl7o9GLMqe8nppWpbIOASq9TfKgGB Z/9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=aTWLfzW7YpEXHuPE2ibNPXPXjXrndny8WZ9daDTYre0=; b=nuIJxJqER8z2lVhrzo+o2Ou3+ftnkrJbCO/tKvNqTIGYoko1Q7NeMB+K0DXYteUPSC ptTHmhS+SsCp0CkxTJF/3vDBP0YsfcEcpiCqPRogzutpCYj0/R0UUDK/MSAyO5SWgI17 b6XjTpPZzFr6/kkzWCtMDGSABhcEz/iyGwF9f5Fs3eFvXvk8mdYoj9Bmj7oAOInf7LRV d3RF+axH2CuNKazn8A1k3B4pgesxD7EbH3m70CklsZT60ZqfiUhxdB+iy3ykWrGx6Q5N LDlmqZqR7uol2fBoH4pWiIMDzHNAdJ1kp2de1vt5DgQzcsO7r4yCAKGkFw27W4vKNkJw w9LQ== X-Gm-Message-State: APf1xPCnc0W2S3JrwypF0s5eV+C0iauxF70FRJs2PQBsZ5IP0XDbdN96 QlRhF7ErEgBJB362nyNaTLXfPEg2 X-Received: by 10.55.153.3 with SMTP id b3mr2004905qke.65.1519167699443; Tue, 20 Feb 2018 15:01:39 -0800 (PST) Received: from localhost (dhcp-ec-8-6b-ed-7a-cf.cpe.echoes.net. [72.28.5.223]) by smtp.gmail.com with ESMTPSA id e26sm17835853qkm.26.2018.02.20.15.01.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 15:01:38 -0800 (PST) Date: Tue, 20 Feb 2018 15:01:36 -0800 From: Tejun Heo To: "Michael Kerrisk (man-pages)" Cc: "Serge E. Hallyn" , lkml , "open list:CONTROL GROUP (CGROUP)" Subject: Re: A "domain invalid" cgroup *can* sometimes have member tasks Message-ID: <20180220230136.GD170644@devbig577.frc2.facebook.com> References: <20180220193547.GB170644@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180220193547.GB170644@devbig577.frc2.facebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 11:35:47AM -0800, Tejun Heo wrote: > Hmm... nr_populated_domain_children check should have caught that > condition and rejected it. Will look into what's going on. Ah, okay, I was special-casing the first level children case too early. If you nest the test case by one more level, it fails as intended. I'll fix the checks. Thanks. -- tejun