Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8654691imu; Tue, 4 Dec 2018 11:54:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/XMBzm8aKP6bugle2CyOf2tj8/efY5gEQZWEJwjJlCqFQlWGokDxCVPWe3wiRjkxqFCo/Ze X-Received: by 2002:a17:902:b60a:: with SMTP id b10mr19893458pls.303.1543953243449; Tue, 04 Dec 2018 11:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543953243; cv=none; d=google.com; s=arc-20160816; b=ZPpEhJhlvgMYd0+raIKt5N9vEdOHhm2c+0061bGCKFQwVXwwIlfL+mdJc9biXiu6CX X7x2G9A5rPAXwNLm0/oXcWGesItcieMZVvypbHC0zwSjSxX/AenTvDVutFvODqq4+py2 VbWIexahTiRnyKAovAvb4XV6/wB3vXoMna7LroI9guuZ+gUdDOYaHDlsJqrCmPvzIoPx hQmRP+I8oORDp8qyqAw5vZH0GEv33e1acqQueMlP6pDtetoDtEzuEWaEOWlTQHkzTbiC jUQFNBTbhXMD2W9tsrXk2Z7K/tuj/qjSXFYu19ogykyMxzDQTeEFQsijkauYGyExcgrH 5HaA== 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; bh=+VG8OeAI5diR1prMWfOG9jypspaoM2+GkCaXxs9Fkh4=; b=Wi7CtuV+EGjm8uqDDMMgsjtw5/djGaEYQYPyWE9nrI+FW/w37/11/97m83zPEHU6qI MN1pUjjjN1E5+zZMQg58csbJKiwwj2M3xAe1ghUv0J6OJ7LQ6RCNmdmiUJFnTQrXOtTR UHb+x6Dv9yti3qFWU6cITqBQqtkRmRZQVMb622KLrKBDO36P4u/B6B0yeIL+7pDd7M40 M+XeUprXnH5HBlvQRG67zod6HfYGxcFhjqY9yjURaOfJpGzVUsGz8Go2xIH7/oPqgr/H BO2eckioMCkrlXvBstoBgJwkiV7BytSklcOoN4ZlnXNFqP0zsOqvFwc938SD8XKXhP4j /rFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=wnLUxI3j; 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 q17si21369131pfc.198.2018.12.04.11.53.47; Tue, 04 Dec 2018 11:54:03 -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=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=wnLUxI3j; 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 S1726230AbeLDTxF (ORCPT + 99 others); Tue, 4 Dec 2018 14:53:05 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:39062 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbeLDTxE (ORCPT ); Tue, 4 Dec 2018 14:53:04 -0500 Received: by mail-yw1-f67.google.com with SMTP id j6so7486462ywj.6 for ; Tue, 04 Dec 2018 11:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+VG8OeAI5diR1prMWfOG9jypspaoM2+GkCaXxs9Fkh4=; b=wnLUxI3jiVK/TZ6SfjDQh0Cu6nYvzK2mrpLOLEkUPUGkdupA/tT7gziopeU58X+Zpe 85vv/WMoH84pvMg2DIDc6EZ51eb36yC7g/mSS6qIX8Ib71Bv5wb6lW3p+lGkBgdjL4K5 HEEI824CFmFUm4cTRbQljlmnF3A+2tQlXzQwRo0ELL59Nek8w9qiQg55pXRvRW7qtjm9 zruHxhq84zGez1dw04hNiSL/P8DpsRWdmXvNQmFTyIsGiGfvQMIz7NbRpMfJya0sspUy WlxS5EWvy5fD9PVNNlI/LrcJV4NyEkW92sJ8o8vOiQqV7xVVXc9IT1Dm+aMKRmsT+Qv1 xU/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+VG8OeAI5diR1prMWfOG9jypspaoM2+GkCaXxs9Fkh4=; b=CqfyTzzW0bCe4tWMb/4FV5QN9Enp2oBVISp4BuyZ7LmRBwh+bnEUQAmCcLCl5613iL G1Ggxp03PJJXaTcTnwxktX1K5hk+X56U3J9yfwfpkm4ecmOncLXrRvO3t34LwCt5YSuX GHehEm1sBbYSnC6kHFcGDxjt24B546hxfZ5JuHNy3wkOUSYtrYIWW8Sgc+3eqd0FoxHK ytwOcKfkJcYEvCI9iIceMEvH+Tg/J3dao75KaYTCJ/sUjb8xMmoRKjz3PtJWrN5JiJpU 9jA39ON5QAtHdTELh+hpM3v75EhiWxl0MOaU60jJGqyT8373WUOvVzWikEf9Vo2wSoxj 21Jw== X-Gm-Message-State: AA+aEWaI2O6RdjwpP2g89UDDcipwLuNpUYxe7rN96dr+bZnpOetwwbkn 2ZGi0ityYfVzTtrTzoQ4pQWmFA== X-Received: by 2002:a81:27d6:: with SMTP id n205mr21628438ywn.305.1543953183865; Tue, 04 Dec 2018 11:53:03 -0800 (PST) Received: from localhost ([107.15.81.208]) by smtp.gmail.com with ESMTPSA id k187sm5284901ywf.71.2018.12.04.11.53.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 11:53:03 -0800 (PST) Date: Tue, 4 Dec 2018 14:53:02 -0500 From: Josef Bacik To: Dennis Zhou Cc: Jens Axboe , Tejun Heo , Johannes Weiner , Josef Bacik , kernel-team@fb.com, linux-block@vger.kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/14] blkcg: remove additional reference to the css Message-ID: <20181204195301.delc756zuo5gxtlw@MacBook-Pro-91.local> References: <20181204183600.99746-1-dennis@kernel.org> <20181204183600.99746-12-dennis@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181204183600.99746-12-dennis@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 04, 2018 at 01:35:57PM -0500, Dennis Zhou wrote: > The previous patch in this series removed carrying around a pointer to > the css in blkg. However, the blkg association logic still relied on > taking a reference on the css to ensure we wouldn't fail in getting a > reference for the blkg. > > Here the implicit dependency on the css is removed. The association > continues to rely on the tryget logic walking up the blkg tree. This > streamlines the three ways that association can happen: normal, swap, > and writeback. > > Signed-off-by: Dennis Zhou > Acked-by: Tejun Heo Reviewed-by: Josef Bacik Thanks, Josef