Re: [PATCH] ASoC: SOF: Use high-priority workqueue for PCM period elapsed
Pierre-Louis Bossart <[email protected]> Mon, 3 Aug 2026 12:13:18 +0200
| Newsgroups | gmane.linux.sound |
|---|---|
| Message-ID | <[email protected]> |
>> Could it be that the level of priority should be configurable (Kconfig, >> sysfs, kernel parameter) to let distros pick what they need? > > I guess, it could, but what about the graphic, network, touchscreen, > etc? Should they all have the same way to select? > > I think audio is a bit special among devices, if there is a slight > scheduling delay it will be noticeable. > > Not saying that we should not look for other cases where it would make > noticeable difference, but using high_pri workqueue is not uncommon > among audio drivers where the period elapsed must be handled by a work > for a reason. if you do a search this workqueue is actually used only 10 times in the entire sound/ directory https://github.com/search?q=repo%3Athesofproject%2Flinux+path%3Asound%2F+system_highpri_wq&type=code Again I am not disagreeing that audio is 'special', just that there's no real precedent for this move and that deciding unilaterally what's high priority without looking at the rest of the system is a bit problematic. Anyways, case closed since the patch is merged...