Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874AbXHNIfw (ORCPT ); Tue, 14 Aug 2007 04:35:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753105AbXHNIfc (ORCPT ); Tue, 14 Aug 2007 04:35:32 -0400 Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:33638 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbXHNIf3 (ORCPT ); Tue, 14 Aug 2007 04:35:29 -0400 Message-ID: <46C1691E.7090708@ah.jp.nec.com> Date: Tue, 14 Aug 2007 17:34:38 +0900 From: Takenori Nagano User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: vgoyal@in.ibm.com CC: Keith Owens , "Eric W. Biederman" , k-miyoshi@cb.jp.nec.com, Bernhard Walle , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [patch] add kdump_after_notifier References: <20070802112852.GA7054@in.ibm.com> <31687.1186113947@kao2.melbourne.sgi.com> <20070805110746.GA12540@in.ibm.com> In-Reply-To: <20070805110746.GA12540@in.ibm.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1344 Lines: 32 Vivek Goyal wrote: > On Fri, Aug 03, 2007 at 02:05:47PM +1000, Keith Owens wrote: > > > To sum up, couple of options come to mind. > > - Register all the RAS tools on die notifier and panic > notifier lists with fairly high priority. Export list > of RAS tools to user space and allow users to decide the > order of execution and priority of RAS tools. > > - Create a separate RAS tool notifier list (ras_tool_notifer_list). > All the RAS tools register on this list. This list gets priority > over die or panic notifier list. User decides the oder of execution > of RAS tools. > > Here assumption is that above list will not be exported to modules. > All the RAS tools will be in kernel and they always get a priority > to inspect an event. > > What do others think? Very good idea. But there is a problem how to give default priority to RAS tools. How about priority changeable notifier_list? User can change list order dynamically if they want. Of course, we have to give highest priority to kdump by default. It is very useful for users who want to use some RAS tools. - 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/