Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp620800imm; Fri, 31 Aug 2018 08:53:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZPetc39VL+Ahkl2/efCsNsCaMSohFjDxaBrO629cgfw5aW3UAAi9atJGCDcFItGkieETmz X-Received: by 2002:a17:902:2:: with SMTP id 2-v6mr16457160pla.181.1535730807595; Fri, 31 Aug 2018 08:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535730807; cv=none; d=google.com; s=arc-20160816; b=xCLCRuu3H0Qq6q6nOBKPSAjmJLDfvWBE46A70Bhf9EQf7aeHBSm+la6W/akXEnaj1u XU+rSlaK9xiRlc3fbpoWANCRcpLeihctturBB0KdpIznaR8/3ZFxh/f5XAxQmkyWMSJZ hxaGuuA+/BS55ELkQ5if8rVlDdpKTA9xeXbUKun8u+xqmzfE9ysA7tZ3073Bq64xKayA SA5ov+aBwWlqq1SYxWSqdWdDvJCIkB/DDekLtzpBAY63odr5AnQtFIOIEjkmMfsLgiv9 EaZAds04ch5OB/b7mEGGmpS52gEHwx+W7RkQgvcgdFbHAfyDt2yYUOu05zu5MS0hZ04H JwKg== 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=UqaA9H8RxsZ7IIFSLpndjVyK5I3+eZWdGd5MwXiwCqQ=; b=LEiEaHoQ8xa0+oUSvxcDVKbXVa1Yk0QvsVYl5tmhvQU0UBRJEPqAvOv04ZUU7gOto0 MPVxKYmpmC+vPvyarQN66s8Pot7TbFnfn8LwAklGvP0isJDlsZZsu8D9XXkt4X0KE1Hb huAOpqdTj5Uk7egZ+yreJCDtTS4Nth3B9Y6KaN6QFy67ia53rlI25aRo+YAjs0/IRmnL qlbjiEAtOdIOKIepG/KD9XB1QbrZgiiF5EyENgpO4U7nslN/xfBk2YsU9f6gSiUym955 GojIePYq7FryBPV+3XX2xolWEnVK7Dt6Rz1PPMSEprcfggRIr2zQATNdIbiixiEGyppT Hksw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=xFPHzLgC; 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 k5-v6si10923001pfk.2.2018.08.31.08.53.12; Fri, 31 Aug 2018 08:53:27 -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=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=xFPHzLgC; 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 S1729123AbeHaT60 (ORCPT + 99 others); Fri, 31 Aug 2018 15:58:26 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:39523 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727345AbeHaT60 (ORCPT ); Fri, 31 Aug 2018 15:58:26 -0400 Received: by mail-qk1-f196.google.com with SMTP id b19-v6so1689556qkc.6 for ; Fri, 31 Aug 2018 08:50:19 -0700 (PDT) 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=UqaA9H8RxsZ7IIFSLpndjVyK5I3+eZWdGd5MwXiwCqQ=; b=xFPHzLgC4sh+KhS4ZP9khaBXROOYwkCxcppvRlSRnZwE/Fk4jSXgWzsTkC1d/QwWoL ULECdegUNk6v49JIUEau+Lgmytsx96g++icAS0OrqGmpsa8GbFHVqRqauGJIboC9JH9I G62OsSkIcfQudGL7RpUYOgeSlbottNanch3F3HDOULvSgVZjx6SXtOAsgSdhOdjsK9qK q416PyTf4iul1hZll4jhEmnHqyQ5GkCD5cjNfZRrB9Z0N+Dle4LyBdvXWQXeF703PWmU B+umTNjO+2ampF1Y4tJt1LWuxgjKFeWH/ZOLy15b9BpAsyxoVkBKzCQUeyk/aSYffZ/A hCXQ== 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=UqaA9H8RxsZ7IIFSLpndjVyK5I3+eZWdGd5MwXiwCqQ=; b=tdvMDrnjmQXcDgErcyo/eU+I2SNGsUk9rPrhxkeAKgRlk8HeYuNAW5+SduP0bdSc4M kykVSyPXNUtaNxncr1gGynbg+zJhq9gLBKgDD1KpdquTSqkHy5zS5BVKTq2krRpvF5zl 1cRILqqGzwMan5CaQZwnQBBAmZGlq+8CFlnO8/VVdg6bYsdUPkQRP0Dho1V9lL9QEVyA FHqmEaisKDd0Yz55yL0iezb7hORzpkuwFw5bIxVGKBx5VrK3Sf6gtEcLDl02yIXLdf05 IzjkC9m1nrB+8pFt9hwI5av7xccFqDOw6Czjkz9PxGNAoe69+iugwTIzhUyo6y6islOm ARYA== X-Gm-Message-State: APzg51Ap//pIzoU8SQTvE488D8WoMoed8or+RyUJiFexcrtdI63q29FX 5jlWdQ4DhgEqNB/TO90LgtxVsw== X-Received: by 2002:ae9:eb58:: with SMTP id b85-v6mr16252484qkg.110.1535730619226; Fri, 31 Aug 2018 08:50:19 -0700 (PDT) Received: from localhost ([107.15.81.208]) by smtp.gmail.com with ESMTPSA id l87-v6sm6793765qki.82.2018.08.31.08.50.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 08:50:18 -0700 (PDT) Date: Fri, 31 Aug 2018 11:50:17 -0400 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 14/15] blkcg: rename blkg_try_get to blkg_tryget Message-ID: <20180831155016.2u5erpni5omhcncr@destiny> References: <20180831015356.69796-1-dennisszhou@gmail.com> <20180831015356.69796-15-dennisszhou@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180831015356.69796-15-dennisszhou@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 30, 2018 at 09:53:55PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > blkg reference counting now uses percpu_ref rather than atomic_t. Let's > make this consistent with css_tryget. This renames blkg_try_get to > blkg_tryget and now returns a bool rather than the blkg or NULL. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef