Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753402Ab0AHAai (ORCPT ); Thu, 7 Jan 2010 19:30:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752778Ab0AHAai (ORCPT ); Thu, 7 Jan 2010 19:30:38 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:36608 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752765Ab0AHAah (ORCPT ); Thu, 7 Jan 2010 19:30:37 -0500 Date: Thu, 7 Jan 2010 16:29:28 -0800 From: Andrew Morton To: Daisuke HATAYAMA Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mhiramat@redhat.com, xiyou.wangcong@gmail.com, andi@firstfloor.org, jdike@addtoit.com, tony.luck@intel.com Subject: Re: [RESEND][mmotm][PATCH v2, 0/5] elf coredump: Add extended numbering support Message-Id: <20100107162928.1d6eba76.akpm@linux-foundation.org> In-Reply-To: <20100104.100607.189714443.d.hatayama@jp.fujitsu.com> References: <20100104.100607.189714443.d.hatayama@jp.fujitsu.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; 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 Content-Length: 1485 Lines: 34 On Mon, 04 Jan 2010 10:06:07 +0900 (JST) Daisuke HATAYAMA wrote: > The current ELF dumper can produce broken corefiles if program headers > exceed 65535. In particular, the program in 64-bit environment often > demands more than 65535 mmaps. If you google max_map_count, then you > can find many users facing this problem. > > Solaris has already dealt with this issue, and other OSes have also > adopted the same method as in Solaris. Currently, Sun's document and > AMD 64 ABI include the description for the extension, where they call > the extension Extended Numbering. See Reference for further information. > > I believe that linux kernel should adopt the same way as they did, so > I've written this patch. > > I am also preparing for patches of GDB and binutils. That's a beautifully presented patchset. Thanks for doing all that work - it helps. UML maintenance appears to have ceased in recent times, so if we wish to have these changes runtime tested (we should) then I think it would be best if you could find someone to do that please. And no akpm code-review would be complete without: dump_seek() is waaaay to large to be inlined. Is there some common .c file to where we could move it? -- 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/