Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp616229imm; Fri, 31 Aug 2018 08:46:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaPKzls/gFyYJABINo4LduAj+H0+nV+s8jC+C2Y6plutF3I2wUJpTBxxlk9918N+TjHwYMa X-Received: by 2002:a17:902:694a:: with SMTP id k10-v6mr15799296plt.166.1535730402244; Fri, 31 Aug 2018 08:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535730402; cv=none; d=google.com; s=arc-20160816; b=QfQkh64IM55O/yRdLaMm1HkhZPyASJHTNvYbOZsiN1A6S+ekTvbzYY5wi/g5p6cTs3 fFjVnGgSldNuiLmdUVhs8OftD7lY0IQ+yD47D4ww7Mt7Dg+vylXsP51BggvXL3J9OIJg Pmo5T5KLb/RxNMPmZZtxS99KieiTWeoRIBBvp/KvTGgCcG0VhLrqFe+npUeXQMuVFq1T WFG7A/IMpabNizigwkNGfunE7cwmVpaOvQRAcZH7YS/p3x9AEG1l+j+YxZlo2mxxsRhL cI94mbMqZqiIFBRZCCY/PBSwSZCIPBr5rmCdoVi9uQKOEqBseIDhpqWcgoRe8bo4PVEO lFVg== 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=bW4HdnUXreM4ZDeViOaJVHzcCN7B4W80txKIg0Q23RQ=; b=Id4rEFZ/TSDYXWxFnwHHah/Dexvvhc0kai1136IiyRLiojlGT7Q9x06vOwywXk2+VF tPIPBxffIBVVVZ6oB0/D9j+mPtNuU1U/xEnj+5SzVPgvcEU3CitlOhFFZ3sz41tYrfZN 7c3765vJfK0V1mZ7Bx6xRieukm2Vbhx2+xNkaug7UB+4nm5/J+C1+H8zc8Z+PL9xZ1Qh 6VT4wp1dvLR4wQLcurs6oevMYzseemVJOVLL/A3kquLVjGtT9vuJW49Hj9NYhDK35ADf AMiA5t8xMWK8ixN3I8JWMIFXhMI45RrGkpDRUcrC4OK03A3kOIDsL7yAkILzC5PybIZ7 O8QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=uK3VdRwN; 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 g21-v6si10340295pgk.232.2018.08.31.08.46.27; Fri, 31 Aug 2018 08:46:42 -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=uK3VdRwN; 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 S1729190AbeHaTwd (ORCPT + 99 others); Fri, 31 Aug 2018 15:52:33 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36040 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728273AbeHaTwd (ORCPT ); Fri, 31 Aug 2018 15:52:33 -0400 Received: by mail-qt0-f194.google.com with SMTP id t5-v6so15032877qtn.3 for ; Fri, 31 Aug 2018 08:44:28 -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=bW4HdnUXreM4ZDeViOaJVHzcCN7B4W80txKIg0Q23RQ=; b=uK3VdRwN8MhVYd1Nns86CO2r3GgV7tsi1u0TFyu24pZ/1o4MpqLu4Ne3KN66a/91OW Q47vO8uNo24yz1tI3mZpy2u7hqU2Uxr04XqsTL5NhifBpqdCaQImpEttXy5ISm2BKiKh B7wC1RFx6OifDBPrisbTRB604ZN7N25rfACgv1LTL3NmYCjwjNpq3yH8ho1sCCiAu2nC K4h4NimSyhwBvlWT42JAyEdmEwV5zwFpRYIzT1mDEeBwCjGKb7fzlVRImXhTCdeKFvna KJzoMRHjKeepN8ecdavYemNugPatUBN6bdez7Qlxe/pLBsUk+Va8RpAcEvAE0IxWvAoi rpFQ== 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=bW4HdnUXreM4ZDeViOaJVHzcCN7B4W80txKIg0Q23RQ=; b=eCLDmBu9footQ9pDn9cdDUwJ7zt6Wu3TcxbLDDM/HJ5o+jUnGvE1J4s4fHcOkdtfz0 hk7lrz96RUV3+AmaRiobYO28CLR89/UCxVMjKgewB1AVflfm9N3FP+T9WIyj47wO9O9m BBlXiRAS35nmj9W9JuQThmYXHWQY5vilBV5tz3n954vvSa47bIDYiUF3K3iVo54Ii6mj QNrVEsE7hv+gSvd2ickwBb5dDNzTjNNn3RcBTH3uiA9aaQV6/DsTblldcqEK+IVGDStq gWeBBcBHX8xqh8jNtBSQH4bI8oTK85i19KdqJH9bsJOxzOtIcRhP5QflPdVgpETUC/42 T0dA== X-Gm-Message-State: APzg51CNLOGiMEKqMUWTjuAoBdhZiUdSJUnIh79AyeYrw+wXIMPd3ExG PlDrSNORS9YJso5k19MiK4sHRA== X-Received: by 2002:ac8:42cf:: with SMTP id g15-v6mr16465395qtm.162.1535730267788; Fri, 31 Aug 2018 08:44:27 -0700 (PDT) Received: from localhost ([107.15.81.208]) by smtp.gmail.com with ESMTPSA id l5-v6sm5337405qte.20.2018.08.31.08.44.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 08:44:26 -0700 (PDT) Date: Fri, 31 Aug 2018 11:44:26 -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 08/15] blkcg: associate a blkg for pages being evicted by swap Message-ID: <20180831154425.hvh7hrz5nocs35tr@destiny> References: <20180831015356.69796-1-dennisszhou@gmail.com> <20180831015356.69796-9-dennisszhou@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180831015356.69796-9-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:49PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > A prior patch in this series added blkg association to bios issued by > cgroups. There are two other paths that we want to attribute work back > to the appropriate cgroup: swap and writeback. Here we modify the way > swap tags bios to include the blkg. Writeback will be tackle in the next > patch. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef