Message ID | 20220923153501.3326041-1-kai.vehmanen@linux.intel.com |
---|---|
State | Accepted |
Commit | a61c7d88d38cf3b9c88cf667c4f8a389a57744d4 |
Headers | show |
Series | ALSA: memalloc: use __GFP_RETRY_MAYFAIL for DMA mem allocs | expand |
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 2c11413bea61..03cffe771366 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c @@ -21,7 +21,7 @@ #define DEFAULT_GFP \ (GFP_KERNEL | \ __GFP_COMP | /* compound page lets parts be mapped */ \ - __GFP_NORETRY | /* don't trigger OOM-killer */ \ + __GFP_RETRY_MAYFAIL | /* don't trigger OOM-killer */ \ __GFP_NOWARN) /* no stack trace print - this call is non-critical */ static const struct snd_malloc_ops *snd_dma_get_ops(struct snd_dma_buffer *dmab);