lkml.org 
[lkml]   [2017]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: scsi: ufs: Delete an error message for a failed memory allocation in ufshcd_memory_alloc()
From
Date
>> 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

\
 
 \ /
  Last update: 2017-08-26 13:17    [W:0.657 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site