Re: git: 78cd83e4017b - main - devclass_alloc_unit: Go back to using M_WAITOK
Date: Mon, 10 Mar 2025 18:15:52 UTC
On 3/10/25 13:41, Ravi Pokala wrote: > Hi John, > >> This reverts commit 234683726708cf5212d672d676d30056d4133859. > > The commit message for that change says that this allocation might be done while holding a lock, and so M_WAITOK is not valid. So then why is this change okay? > > Thanks, Because the earlier commit to sdhci in this same push fixed it to create devices in a sleepable context. -- John Baldwin