From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266556AbUFQPqN (ORCPT ); Thu, 17 Jun 2004 11:46:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266559AbUFQPqM (ORCPT ); Thu, 17 Jun 2004 11:46:12 -0400 Received: from mx1.redhat.com ([66.187.233.31]:8334 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S266556AbUFQPpz (ORCPT ); Thu, 17 Jun 2004 11:45:55 -0400 Message-ID: <40D1BC9B.9020701@redhat.com> Date: Thu, 17 Jun 2004 11:45:31 -0400 From: Nobuhiro Tachino User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jmoyer@redhat.com CC: Ingo Molnar , Christoph Hellwig , Takao Indoh , linux-kernel@vger.kernel.org, Andi Kleen , Dave Anderson , mpm@selenic.com Subject: Re: [3/4] [PATCH]Diskdump - yet another crash dump function References: <20040527210447.GA2029@elte.hu> <20040617121356.GA24338@elte.hu> <20040617121847.GA30894@infradead.org> <20040617123239.GA24647@elte.hu> <16593.45358.706034.192053@segfault.boston.redhat.com> In-Reply-To: <16593.45358.706034.192053@segfault.boston.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jeff Moyer wrote: > ==> Regarding Re: [3/4] [PATCH]Diskdump - yet another crash dump function; Ingo Molnar adds: > > mingo> * Christoph Hellwig wrote: > > >>>Btw, now that we got you in the loop, any chance to see a forward-port >>>of netdump to 2.6? I think diskdump and netdump could share a lot of >>>infrastructure, and given we already have the net polling hooks adding >>>netdump shouldn't be that much work anymore. > > > mingo> i think a forward port of netdump might already exist - Jeff, Dave? > > Yes, I ported the code forward to 2.6. The netpoll infrastructure needed a > little tweaking to accommodate netdump, but nothing major. Namely, we need > to reset some locks, and I added an element to the netpoll data structure > for the dump function. I also updated the zap_completion_queue function to > touch the nmi watchdog. > > mingo> i agree that netdump and diskdump should be merged. (Red Hat is > mingo> involved in the diskdump project too so this is an ultimate goal > mingo> even though the patches are divergent.) Basically diskdumping is > mingo> another IO transport - the format, userspace tools and much of the > mingo> non-IO kernel mechanism is shared. Diskdumping is more complex on > mingo> the driver level and it also needs to be more careful because it > mingo> writes to media so it verifies various assumptions by reading > mingo> on-disk sectors before writing to the area. > > I'm not quite sure what infrastructure would be shared between the two. > Page selection, perhaps? Anything else? I think freezing other CPUs code can be shared, but I can't find more.