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

Re: [Xen-devel] linux 4.19 xenstore memory allocation failure Re: [linux-4.19 test] 135420: regressions - FAIL



Roger Pau Monne writes ("Re: [Xen-devel] linux 4.19 xenstore memory allocation 
failure Re: [linux-4.19 test] 135420: regressions - FAIL"):
> On Wed, May 01, 2019 at 10:47:49AM +0100, Ian Jackson wrote:
> > What if you can't write to xenstore ?  Can we at least have a copy in
> > the kernel log ?  There might be other errors besides this memory
> > exhaustion, surely.
> 
> There's a call to dev_err also, which should print the same error
> that's written to xenstore on the console. That however requires the
> memory allocation of page in order to format the string to be printed
> (see xenbus_va_dev_error).

Can we assume that memory exhaustion will always result in some
message from the memory allocator ?  If so then this new log message
would be a useful addition for cases *other* than a complete lack of
any available free page.  Eg, foolishly trying a large kcalloc
allocation, or some error not related to lack of memory at all.

Ian.

_______________________________________________
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®.