Re: scsi: ufs: Delete an error message for a failed memory allocation in ufshcd_memory_alloc()

From: SF Markus Elfring
Date: Sat Aug 26 2017 - 07:17:25 EST


>> PS: ufshcd_memory_alloc() also does some DMA coherent memory allocation
>> (via dmam_alloc_coherent() APIs) and tries to print out the message on
>> allocation failure. Although i don't know "out of memory" messages will
>> be printed out by dmam_alloc_coherent() APIs or not. If it does print it
>> out then we might want to remove our local memory allocation failure log
>> messages.
>
> Basically most everything that has a gfp_t argument does a
> dump_stack() on OOM unless __GFP_NOWARN is specified by that gfp_t.

How do you think about to continue the clarification for this aspect
of the involved programming interfaces?

Regards,
Markus