Re: [PATCH 2/2] vhost/scsi: Delete error messages for failed memory allocations in five functions

From
Stefan Hajnoczi <hidden>
Date
2017-05-22 14:08:58
Also in
kernel-janitors, kvm, lkml, virtualization
Reply to
Dan Carpenter, 2017-05-22
On Mon, May 22, 2017 at 03:38:33PM +0300, Dan Carpenter wrote:
On Mon, May 22, 2017 at 12:23:20PM +0100, Stefan Hajnoczi wrote:
quoted
I'm not sure if kmalloc() and friends guarantee to show
a message (not just the first time, but for every failed allocation)?
It prints multiple times, but it's ratelimited.  It can also be disabled
using a config option.

See slab_out_of_memory().
Thanks!

Stefan
Thread (12 messages) 12 messages, 3 authors, last reply 2017-05-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help