Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751970AbaKXDHZ (ORCPT ); Sun, 23 Nov 2014 22:07:25 -0500 Received: from LGEMRELSE7Q.lge.com ([156.147.1.151]:60642 "EHLO lgemrelse7q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbaKXDHY (ORCPT ); Sun, 23 Nov 2014 22:07:24 -0500 X-Original-SENDERIP: 10.177.222.213 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Mon, 24 Nov 2014 12:10:17 +0900 From: Joonsoo Kim To: Andrew Morton Cc: Mel Gorman , Johannes Weiner , Minchan Kim , Dave Hansen , Michal Nazarewicz , Jungsoo Son , Ingo Molnar , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 7/7] mm/page_owner: correct owner information for early allocated pages Message-ID: <20141124031017.GD10828@js1304-P5Q-DELUXE> References: <1416557646-21755-1-git-send-email-iamjoonsoo.kim@lge.com> <1416557646-21755-8-git-send-email-iamjoonsoo.kim@lge.com> <20141121153841.c15fa400fd5c76d3946523a8@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141121153841.c15fa400fd5c76d3946523a8@linux-foundation.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 21, 2014 at 03:38:41PM -0800, Andrew Morton wrote: > On Fri, 21 Nov 2014 17:14:06 +0900 Joonsoo Kim wrote: > > > Extended memory to store page owner information is initialized some time > > later than that page allocator starts. Until initialization, many pages > > can be allocated and they have no owner information. This make debugging > > using page owner harder, so some fixup will be helpful. > > > > This patch fix up this situation by setting fake owner information > > immediately after page extension is initialized. Information doesn't > > tell the right owner, but, at least, it can tell whether page is > > allocated or not, more correctly. > > > > On my testing, this patch catches 13343 early allocated pages, although > > they are mostly allocated from page extension feature. Anyway, after then, > > there is no page left that it is allocated and has no page owner flag. > > We really should have a Documentation/vm/page_owner.txt which explains > all this stuff, provides examples, etc. Okay. Will do in next spin. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/