Messages in this thread | | | Date | Mon, 22 May 2017 15:08:43 +0100 | From | Stefan Hajnoczi <> | Subject | Re: [PATCH 2/2] vhost/scsi: Delete error messages for failed memory allocations in five functions |
| |
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: > > 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 [unhandled content-type:application/pgp-signature] | |