Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720634

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

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject Re: scsi: ufs: Delete an error message for a failed memory allocation in ufshcd_memory_alloc()
Date 2017-08-26 13:20 +0200
Message-ID <uiHia-ul-21@gated-at.bofh.it> (permalink)
References <tAffX-Yq-7@gated-at.bofh.it> <tAffX-Yq-9@gated-at.bofh.it> <tAzol-5vz-11@gated-at.bofh.it> <tAzRo-5Yn-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: scsi: ufs: Delete an error message for a failed memory allocation  in ufshcd_memory_alloc() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-26 13:20 +0200

csiph-web