Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Feb 2003 11:59:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Feb 2003 11:59:37 -0500 Received: from air-2.osdl.org ([65.172.181.6]:16598 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id ; Tue, 11 Feb 2003 11:59:36 -0500 Subject: Re: Kexec, DMA, and SMP From: Stephen Hemminger To: "Eric W. Biederman" Cc: Kenneth Sumrall , suparna@in.ibm.com, Corey Minyard , Linux Kernel Mailing List , lkcd-devel@lists.sourceforge.net In-Reply-To: References: <3E448745.9040707@mvista.com> <3E45661A.90401@mvista.com> <20030210174243.B11250@in.ibm.com> <3E48536B.272E5630@mvista.com> Content-Type: text/plain Organization: Open Source Devlopment Lab Message-Id: <1044983350.17351.50.camel@dell_ss3.pdx.osdl.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 11 Feb 2003 09:09:10 -0800 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 24 On Mon, 2003-02-10 at 21:08, Eric W. Biederman wrote: > Kenneth Sumrall writes: > > > > Suparna Bhattacharya writes: > > > > Agreed. I guess the primary question is can we trust the current > > > device shutdown + reboot notifier path or do we need to make some > > > large changes to avoid it. > > > > > So are the functions registered on the reboot notifier path guaranteed > > to be non-blocking? In the kexec on panic case, calls that can block > > would obviously be a bad thing. If they can block, perhaps we could add > > a new flag SYS_PANIC or something like that to tell the driver to only > > do a non-blocking shutdown of the chip. > Some of the network shutdown reboot notifiers can block. I found this out the hard way when trying to convert notifiers to use RCU and discovered many warnings. So many that the effort was abandoned. - 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/