From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755312AbbKDIW6 (ORCPT ); Wed, 4 Nov 2015 03:22:58 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:34959 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752543AbbKDIW4 (ORCPT ); Wed, 4 Nov 2015 03:22:56 -0500 Date: Wed, 4 Nov 2015 09:22:53 +0100 From: Michal Hocko To: Minchan Kim Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael Kerrisk , linux-api@vger.kernel.org, Hugh Dickins , Johannes Weiner , zhangyanfei@cn.fujitsu.com, Rik van Riel , Mel Gorman , KOSAKI Motohiro , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , yalin.wang2010@gmail.com, Shaohua Li Subject: Re: [PATCH 6/8] mm: lru_deactivate_fn should clear PG_referenced Message-ID: <20151104082253.GC29607@dhcp22.suse.cz> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-7-git-send-email-minchan@kernel.org> <20151030124711.GB23627@dhcp22.suse.cz> <20151103011030.GF17906@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151103011030.GF17906@bbox> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 03-11-15 10:10:30, Minchan Kim wrote: > One thing I suspect is GUP with FOLL_TOUCH which calls mark_page_accesssed > on anonymous page and will mark PG_referenced. OK, this is what I've missed. -- Michal Hocko SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: [PATCH 6/8] mm: lru_deactivate_fn should clear PG_referenced Date: Wed, 4 Nov 2015 09:22:53 +0100 Message-ID: <20151104082253.GC29607@dhcp22.suse.cz> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-7-git-send-email-minchan@kernel.org> <20151030124711.GB23627@dhcp22.suse.cz> <20151103011030.GF17906@bbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20151103011030.GF17906@bbox> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Minchan Kim Cc: Andrew Morton , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Michael Kerrisk , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hugh Dickins , Johannes Weiner , zhangyanfei-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org, Rik van Riel , Mel Gorman , KOSAKI Motohiro , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , yalin.wang2010-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Shaohua Li List-Id: linux-api@vger.kernel.org On Tue 03-11-15 10:10:30, Minchan Kim wrote: > One thing I suspect is GUP with FOLL_TOUCH which calls mark_page_accesssed > on anonymous page and will mark PG_referenced. OK, this is what I've missed. -- Michal Hocko SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by kanga.kvack.org (Postfix) with ESMTP id 7A4DB6B0253 for ; Wed, 4 Nov 2015 03:22:56 -0500 (EST) Received: by wmeg8 with SMTP id g8so34795603wme.1 for ; Wed, 04 Nov 2015 00:22:56 -0800 (PST) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com. [74.125.82.51]) by mx.google.com with ESMTPS id l66si881575wmg.9.2015.11.04.00.22.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2015 00:22:55 -0800 (PST) Received: by wmeg8 with SMTP id g8so104114269wme.0 for ; Wed, 04 Nov 2015 00:22:55 -0800 (PST) Date: Wed, 4 Nov 2015 09:22:53 +0100 From: Michal Hocko Subject: Re: [PATCH 6/8] mm: lru_deactivate_fn should clear PG_referenced Message-ID: <20151104082253.GC29607@dhcp22.suse.cz> References: <1446188504-28023-1-git-send-email-minchan@kernel.org> <1446188504-28023-7-git-send-email-minchan@kernel.org> <20151030124711.GB23627@dhcp22.suse.cz> <20151103011030.GF17906@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151103011030.GF17906@bbox> Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael Kerrisk , linux-api@vger.kernel.org, Hugh Dickins , Johannes Weiner , zhangyanfei@cn.fujitsu.com, Rik van Riel , Mel Gorman , KOSAKI Motohiro , Jason Evans , Daniel Micay , "Kirill A. Shutemov" , yalin.wang2010@gmail.com, Shaohua Li On Tue 03-11-15 10:10:30, Minchan Kim wrote: > One thing I suspect is GUP with FOLL_TOUCH which calls mark_page_accesssed > on anonymous page and will mark PG_referenced. OK, this is what I've missed. -- Michal Hocko SUSE Labs -- 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