Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4435738pxt; Wed, 11 Aug 2021 06:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV7zkfJy6lKzFF64DR2NM6iYQv1tZB8DD0lqQTyHNZs7CS59/blkj8nll4ZI1BA+E3iV7U X-Received: by 2002:a05:6402:141:: with SMTP id s1mr11315827edu.377.1628687309126; Wed, 11 Aug 2021 06:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628687309; cv=none; d=google.com; s=arc-20160816; b=n3rkeHEBM0RSywcmzIMY9ZLQ7a4IoUP1nOm4nKp+cFxtWDdx8sQPitpcyRvqfFGBcX Y00+mgrRb7vi6J83PT5sIbK6h+A4g7OW3HEDhpS2zI/ihL8RfniuMTGBSETzTfvsM/dT osAsr2zRDIFdiosuY5Ha3kR3ttDI2LDWa7v24BDwPFDd8BtNMlE8SWLxwfuDo1OOXvAa v8SIVT6QiNM93PvIAztfjn/DBtJEW3/psbuGOOrJ9gxU8PkGWciK+edzQ2qFrCCeGitq TBNs4EH+6HhOQNKgLJEFGwfZlqsqdynSaERh+EaGKuZuule5Q4q3B1+QkXEH393qmL1X zpfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=eCOAlTjJs+lt3WhBiE4K2xJ3mK2mNvHeL5YmeJzRheg=; b=W3HZ64NrcXo53L9faMUYoGlSIr58pfCUXGpNIjydQHlRurD4gNXwdbE7dlbnMcNoxu yirn8LJt+o9621X6bI0QgsBuVPdoGPWYz5IT5GTi0rEBh7oD1dKSs3s4cVj7bNj47JI7 Slt2jTgxihMcl1lBdn5vl7yxxfKZ4Rly71/cnwaRFpVJNnHW0J0Lu/IZWlGRim5FdVH6 DsPFnXh4PFbkMtCPGPS8htczoDb1mMG04B08+THYIgKJGHTsrKnDtVpcw6F4/N14DF+A Y4Lvul+xcxgl9Mxr01fLoJqjWEe/cDHgXAsS/kb44nvPUptwVqZ227r/JPGfipNMumIU 2qZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=YbWztrgm; dkim=neutral (no key) header.i=@suse.cz header.b=Z8FDkYpO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id og26si1383918ejc.418.2021.08.11.06.08.02; Wed, 11 Aug 2021 06:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=YbWztrgm; dkim=neutral (no key) header.i=@suse.cz header.b=Z8FDkYpO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230418AbhHKNDe (ORCPT + 99 others); Wed, 11 Aug 2021 09:03:34 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:46254 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbhHKNDc (ORCPT ); Wed, 11 Aug 2021 09:03:32 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3AA5D220F7; Wed, 11 Aug 2021 13:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628686988; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eCOAlTjJs+lt3WhBiE4K2xJ3mK2mNvHeL5YmeJzRheg=; b=YbWztrgmMJjPWvVHPoHnnbDRsK4Q3Kj9pOkcEyVc1VgVRSsoeaRYbXkqJwCzgV86QGwiyI mvpQR0UrUb+PI7ryG7Q6nkRAx2qWcL8Un3Q/qfKICzZF5cI6gneJ4A6klrahhYHBl6RmGf hoLyIHTE37mMn0x8x02zdDIPmZEtkEA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628686988; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eCOAlTjJs+lt3WhBiE4K2xJ3mK2mNvHeL5YmeJzRheg=; b=Z8FDkYpO8/EmPI0nsvRKWsEQCEPPIgSlsdW69NKzIH7EiSrIJqTwtwgSOruztc4C+8bPOW EGgcH80I8jCGLcDQ== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 16F1B136D9; Wed, 11 Aug 2021 13:03:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id 9H+vBIzKE2F9NQAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 13:03:08 +0000 Subject: Re: [PATCH v14 041/138] mm/memcg: Convert uncharge_page() to uncharge_folio() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-42-willy@infradead.org> From: Vlastimil Babka Message-ID: Date: Wed, 11 Aug 2021 15:03:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-42-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote: > Use a folio rather than a page to ensure that we're only operating on > base or head pages, and not tail pages. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Acked-by: Vlastimil Babka