[Accel-config] Re: [PATCH 1/1] accel-config: Fix idxd_mdev modprobe on specific silicon stepping

Dave Jiang <dave.jiang at intel.com>
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
On 4/2/2021 10:29 AM, Luck, Tony wrote:
>> 	modprobe idxd
>> +	sleep 1
> Dave - this seems weird. Does the idxd start up some async work during module
> initialization?  I'd normally expect "modprobe" to complete synchronously.
>
> "sleep 1" seems a fragile fix. If the system is heavily loaded would you need
> a longer sleep?
>
> -Tony

I don't think so. Although it does do a bunch of 'struct device' 
registration and attempt to probe all of them with registered drivers on 
the dsa_bus. I'm not sure if those are done in async manner.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.