From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869Ab2GICv3 (ORCPT ); Sun, 8 Jul 2012 22:51:29 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:60004 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430Ab2GICv2 (ORCPT ); Sun, 8 Jul 2012 22:51:28 -0400 X-SecurityPolicyCheck: OK by SHieldMailChecker v1.7.4 Message-ID: <4FFA46A4.20309@jp.fujitsu.com> Date: Mon, 09 Jul 2012 11:49:08 +0900 From: Kamezawa Hiroyuki User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Johannes Weiner CC: Andrew Morton , Michal Hocko , Hugh Dickins , David Rientjes , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch 05/11] mm: memcg: only check for PageSwapCache when uncharging anon References: <1341449103-1986-1-git-send-email-hannes@cmpxchg.org> <1341449103-1986-6-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1341449103-1986-6-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (2012/07/05 9:44), Johannes Weiner wrote: > Only anon pages that are uncharged at the time of the last page table > mapping vanishing may be in swapcache. > > When shmem pages, file pages, swap-freed anon pages, or just migrated > pages are uncharged, they are known for sure to be not in swapcache. > > Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx130.postini.com [74.125.245.130]) by kanga.kvack.org (Postfix) with SMTP id 121CA6B0062 for ; Sun, 8 Jul 2012 22:51:29 -0400 (EDT) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 780203EE0BD for ; Mon, 9 Jul 2012 11:51:27 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 5204A45DE59 for ; Mon, 9 Jul 2012 11:51:27 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 2866A45DE53 for ; Mon, 9 Jul 2012 11:51:27 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id DA77B1DB8043 for ; Mon, 9 Jul 2012 11:51:26 +0900 (JST) Received: from m1000.s.css.fujitsu.com (m1000.s.css.fujitsu.com [10.240.81.136]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 6F48B1DB8041 for ; Mon, 9 Jul 2012 11:51:26 +0900 (JST) Message-ID: <4FFA46A4.20309@jp.fujitsu.com> Date: Mon, 09 Jul 2012 11:49:08 +0900 From: Kamezawa Hiroyuki MIME-Version: 1.0 Subject: Re: [patch 05/11] mm: memcg: only check for PageSwapCache when uncharging anon References: <1341449103-1986-1-git-send-email-hannes@cmpxchg.org> <1341449103-1986-6-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1341449103-1986-6-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , Hugh Dickins , David Rientjes , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org (2012/07/05 9:44), Johannes Weiner wrote: > Only anon pages that are uncharged at the time of the last page table > mapping vanishing may be in swapcache. > > When shmem pages, file pages, swap-freed anon pages, or just migrated > pages are uncharged, they are known for sure to be not in swapcache. > > Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamezawa Hiroyuki Subject: Re: [patch 05/11] mm: memcg: only check for PageSwapCache when uncharging anon Date: Mon, 09 Jul 2012 11:49:08 +0900 Message-ID: <4FFA46A4.20309@jp.fujitsu.com> References: <1341449103-1986-1-git-send-email-hannes@cmpxchg.org> <1341449103-1986-6-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1341449103-1986-6-git-send-email-hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , Hugh Dickins , David Rientjes , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org (2012/07/05 9:44), Johannes Weiner wrote: > Only anon pages that are uncharged at the time of the last page table > mapping vanishing may be in swapcache. > > When shmem pages, file pages, swap-freed anon pages, or just migrated > pages are uncharged, they are known for sure to be not in swapcache. > > Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki