From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751443AbdBIFZ6 (ORCPT ); Thu, 9 Feb 2017 00:25:58 -0500 Received: from mail-pg0-f48.google.com ([74.125.83.48]:32997 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbdBIFZ5 (ORCPT ); Thu, 9 Feb 2017 00:25:57 -0500 Date: Wed, 8 Feb 2017 20:50:25 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Nicholas Piggin cc: Hugh Dickins , Linus Torvalds , Andrew Morton , Wu Fengguang , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: fix KPF_SWAPCACHE In-Reply-To: <20170209142026.6861ffb0@roar.ozlabs.ibm.com> Message-ID: References: <20170209142026.6861ffb0@roar.ozlabs.ibm.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Feb 2017, Nicholas Piggin wrote: > On Tue, 7 Feb 2017 11:11:16 -0800 (PST) > Hugh Dickins wrote: > > > 4.10-rc1 commit 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, > > valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1: > > so /proc/kpageflags' KPF_SWAPCACHE should now be synthesized, instead > > of being shown on unrelated pages which have PG_owner_priv_1 set. > > > > Signed-off-by: Hugh Dickins > > Thanks Hugh, this seems fine to me. We want this for 4.10, no? > > Fixes: 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBacked") > Reviewed-by: Nicholas Piggin Thanks Nick, yes, but don't worry: Linus jumped to it, and it's already in 4.10 as b6789123bccb ("mm: fix KPF_SWAPCACHE in /proc/kpageflags"). Hugh