On Fri, Feb 16, 2024 at 9:43 AM Takashi Iwai <tiwai@xxxxxxx> wrote: > > OK, then how about the one like below? > > This changes: > - Back to __GFP_NORETRY as default > - Use __GFP_RETRY_MAYFAIL for SNDRV_DMA_TYPE_NONCONTIG with IOMMU; > this should cover the commit a61c7d88d38c > - Also use __GFP_RETRY_MAYFAIL for the SG-fallback allocations of the > minimal order, just like IOMMU allocator does. > > This should be less destructive, while still allowing more aggressive > allocations for SG buffers. This one looks like it would keep the SOF firmware allocation issue at bay, in both iommu and non-iommu cases. If there is no further discussion in this thread, we'll stress test this on iommu and non-iommu Chromebooks.
- Follow-Ups:
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- References:
- [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Karthikeyan Ramasubramanian
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Hillf Danton
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Sven van Ashbrook
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Hillf Danton
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Kai Vehmanen
- Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- From: Takashi Iwai
- [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- Prev by Date: [PATCH] soc/amd/yc: DMI quirk for LENOVO 83BS to fix malfunctioning mic
- Next by Date: Re: [GIT PULL] sound fixes for 6.8-rc5
- Previous by thread: Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- Next by thread: Re: [PATCH v1] ALSA: memalloc: Fix indefinite hang in non-iommu case
- Index(es):