From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TlUV6-0003sE-GU for kexec@lists.infradead.org; Thu, 20 Dec 2012 01:00:41 +0000 Date: Wed, 19 Dec 2012 17:00:38 -0800 From: Andrew Morton Subject: Re: [PATCH v2] Add the values related to buddy system for filtering free pages. Message-Id: <20121219170038.f7b260c3.akpm@linux-foundation.org> In-Reply-To: <878v8ty200.fsf@xmission.com> References: <20121210103913.020858db777e2f48c59713b6@mxc.nes.nec.co.jp> <20121219161856.e6aa984f.akpm@linux-foundation.org> <878v8ty200.fsf@xmission.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: "Eric W. Biederman" Cc: kexec@lists.infradead.org, Atsushi Kumagai , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Wed, 19 Dec 2012 16:57:03 -0800 ebiederm@xmission.com (Eric W. Biederman) wrote: > Andrew Morton writes: > > > Is there any way in which we can move some of this logic into the > > kernel? In this case, add some kernel code which uses PageBuddy() on > > behalf of makedumpfile, rather than replicating the PageBuddy() logic > > in userspace? > > All that exists when makedumpfile runs is a core file. So it would have > to be something like a share library that builds with the kernel and > then makedumpfile loads. Can we omit free pages from that core file? And/or add a section to that core file which flags free pages? _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx201.postini.com [74.125.245.201]) by kanga.kvack.org (Postfix) with SMTP id 5C9636B0068 for ; Wed, 19 Dec 2012 20:00:40 -0500 (EST) Date: Wed, 19 Dec 2012 17:00:38 -0800 From: Andrew Morton Subject: Re: [PATCH v2] Add the values related to buddy system for filtering free pages. Message-Id: <20121219170038.f7b260c3.akpm@linux-foundation.org> In-Reply-To: <878v8ty200.fsf@xmission.com> References: <20121210103913.020858db777e2f48c59713b6@mxc.nes.nec.co.jp> <20121219161856.e6aa984f.akpm@linux-foundation.org> <878v8ty200.fsf@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: "Eric W. Biederman" Cc: Atsushi Kumagai , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-mm@kvack.org On Wed, 19 Dec 2012 16:57:03 -0800 ebiederm@xmission.com (Eric W. Biederman) wrote: > Andrew Morton writes: > > > Is there any way in which we can move some of this logic into the > > kernel? In this case, add some kernel code which uses PageBuddy() on > > behalf of makedumpfile, rather than replicating the PageBuddy() logic > > in userspace? > > All that exists when makedumpfile runs is a core file. So it would have > to be something like a share library that builds with the kernel and > then makedumpfile loads. Can we omit free pages from that core file? And/or add a section to that core file which flags free pages? -- 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 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752297Ab2LTBAo (ORCPT ); Wed, 19 Dec 2012 20:00:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44997 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749Ab2LTBAj (ORCPT ); Wed, 19 Dec 2012 20:00:39 -0500 Date: Wed, 19 Dec 2012 17:00:38 -0800 From: Andrew Morton To: ebiederm@xmission.com (Eric W. Biederman) Cc: Atsushi Kumagai , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH v2] Add the values related to buddy system for filtering free pages. Message-Id: <20121219170038.f7b260c3.akpm@linux-foundation.org> In-Reply-To: <878v8ty200.fsf@xmission.com> References: <20121210103913.020858db777e2f48c59713b6@mxc.nes.nec.co.jp> <20121219161856.e6aa984f.akpm@linux-foundation.org> <878v8ty200.fsf@xmission.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Dec 2012 16:57:03 -0800 ebiederm@xmission.com (Eric W. Biederman) wrote: > Andrew Morton writes: > > > Is there any way in which we can move some of this logic into the > > kernel? In this case, add some kernel code which uses PageBuddy() on > > behalf of makedumpfile, rather than replicating the PageBuddy() logic > > in userspace? > > All that exists when makedumpfile runs is a core file. So it would have > to be something like a share library that builds with the kernel and > then makedumpfile loads. Can we omit free pages from that core file? And/or add a section to that core file which flags free pages?