[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/mm: don't crash on unknown memory types in page_get_ram_type



On Fri, Sep 21, 2018 at 06:04:31AM -0600, Jan Beulich wrote:
> >>> On 21.09.18 at 12:59, <roger.pau@xxxxxxxxxx> wrote:
> > --- a/xen/arch/x86/mm.c
> > +++ b/xen/arch/x86/mm.c
> > @@ -465,7 +465,7 @@ unsigned int page_get_ram_type(mfn_t mfn)
> >              break;
> >  
> >          default:
> > -            ASSERT_UNREACHABLE();
> > +            type |= RAM_TYPE_UNKNOWN;
> >          }
> >      }
> 
> The latest now there should be a "break". I'm happy to add that while
> committing; with it
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Sure, thanks.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.