[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC] KEXEC: allocate crash note buffers at boot time v3
On 01/12/11 05:20, Keir Fraser wrote: > On 01/12/2011 12:56, "Jan Beulich" <JBeulich@xxxxxxxx> wrote: > >>> + register_keyhandler('C', &crashdump_trigger_keyhandler); >>> + >>> + /* If no crash area, no need to allocate space for notes. */ >>> + if ( 0 == kexec_crash_area.size ) >>> + return 0; >> Wouldn't it make sense to switch the order of these? > I also really hate this constant-first ordering. > > -- Keir > It was a useful habit I got into when learning C/C++ and has stayed with me. I will endeavor to not do it. -- Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |