Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1507667imm; Tue, 3 Jul 2018 12:29:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJeMhJF0CReKsogBj+c79wuS/oSwJOwbNRwJBm2lGSYopWwaSZS88qpF3UpUiyTpgf25lC8 X-Received: by 2002:a17:902:6802:: with SMTP id h2-v6mr30989285plk.113.1530646199364; Tue, 03 Jul 2018 12:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530646199; cv=none; d=google.com; s=arc-20160816; b=tFoCpnfa+FlEkJNdez9s5qQCBjOjGdQI2i2Cz+NxmaZ+4OYf6vN5gGjOwsFJ8AQ2Bi kGqSfQqsiG/7izWn/9eXNIt8jE+SIexGs+vsUIrQn9bm9Q3I9hv1EwuIoq+T0gRttbfN +dWOg+gY5kmRSdsrSgsGR+atZcQvZti1FilaIFvHR87nVdiYUGwoawPCv+ggtgZ9MN6K SLtWmx7ks3rXkZCg6uV/uF4mFZnkFGYzEVQv0hRHw1UN7CLPIQb6d765aMKD+S4XfSw2 nTANnVLbSKGvw+pOJxFCwHgAV+w+efynPxVUqZ4vYeWaawT21oAek8iNEtSVTi3Cb0Z6 wIgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=bnpn/Pqx4+o9HXI+clVj7407xHJqkBfieUklKp8dV7Q=; b=F+kI83zoBK9Gp9kq90jgi7QoXM4eagY554Axr5EAN0hPQNxfzjZBkZ01ZoM4Ys/59K QNjc2DbFcjxWngFKG36fRuD0UEjLvLARoGCmoR//GUfDk/GVBnetJQG9Bh4JRV3dANhA +qWlKm6xsbxJHH8ECweo72PlPm7ByXqlIJUvAQd//BX75paNAO3idCjChOrzMoun4rPl UAJ9vwC2fArtiQala6lrIUfbTsftHWsFFZBWkixmxzzPJe/oDLA9XaliSR1NIqGwczOn BThoNzBcGJX4VawYLkP6F2tBsA54z5F+nlHuUPXiDQpKu5bXKllAt7dg9qW5ESUy+B+j 10Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DnuFJ3H5; 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 c18-v6si1521031pgp.467.2018.07.03.12.29.44; Tue, 03 Jul 2018 12:29:59 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DnuFJ3H5; 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 S934645AbeGCT12 (ORCPT + 99 others); Tue, 3 Jul 2018 15:27:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37314 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752105AbeGCT11 (ORCPT ); Tue, 3 Jul 2018 15:27:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bnpn/Pqx4+o9HXI+clVj7407xHJqkBfieUklKp8dV7Q=; b=DnuFJ3H5B5GRblaRMkber2FVl 8HSMB3DKGOdIm+ohFUFmhexIeg7bt5Ji867WaqWqrFtq3+760tIPmezoao2Qc0wnUfInOGITK/KGj 3fC5NoJF+Awv8v2oPsZwQ+SKgjqP3tWgj+7iGZl7Y/yZPvBNFka0RXVwoo83tcUWLzz7nqrW0ezQW tUKkKBTTvXUQo92vI36q23lcq2byLwbpXUm+sRApLlVKbkN0Up3l+WSuNFbDJNumMnAT+OekG3vg5 a1fcaXwdGQ+4D+9nDyo7j4EDpyxhJvOkKUDvUIzXXV0fRC36kcqfoGBU2edKhoyl2Jr4XCITq+ii4 p+cyuoPdQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1faQxR-00052N-NB; Tue, 03 Jul 2018 19:27:25 +0000 Subject: Re: [PATCH 05/14] swap,blkcg: issue swap io with the appropriate context To: Josef Bacik , axboe@kernel.dk, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, hannes@cmpxchg.org, tj@kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, kernel-team@fb.com References: <20180703151503.2549-1-josef@toxicpanda.com> <20180703151503.2549-6-josef@toxicpanda.com> From: Randy Dunlap Message-ID: Date: Tue, 3 Jul 2018 12:27:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180703151503.2549-6-josef@toxicpanda.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2018 08:14 AM, Josef Bacik wrote: > From: Tejun Heo > > For backcharging we need to know who the page belongs to when swapping > it out. We don't worry about things that do ->rw_page (zram etc) at the > moment, we're only worried about pages that actually go to a block > device. > > Signed-off-by: Tejun Heo > Signed-off-by: Josef Bacik > Acked-by: Johannes Weiner > cked-by: Andrew Morton Checked-by: ? :) copy-pasto > --- > block/bio.c | 24 ++++++++++++++++++++++++ > include/linux/bio.h | 7 +++++++ > mm/page_io.c | 1 + > 3 files changed, 32 insertions(+) -- ~Randy