On 10/24/25 2:05 PM, Michal Clapinski wrote:
> Comments in linux/device/driver.h say that the goal is to do async
> probing on all devices. The current behavior unnecessarily slows down
> the boot by synchronously probing dax devices, so let's change that.
>
> For thousands of devices, this change saves >1s of boot time.
>
> Michal Clapinski (5):
> dax: add PROBE_PREFER_ASYNCHRONOUS to the pmem driver
> dax: add PROBE_PREFER_ASYNCHRONOUS to the kmem driver
> dax: add PROBE_PREFER_ASYNCHRONOUS to the cxl driver
> dax: add PROBE_PREFER_ASYNCHRONOUS to the hmem drivers
> dax: add PROBE_PREFER_ASYNCHRONOUS to the dax device driver
>
> drivers/dax/cxl.c | 1 +
> drivers/dax/device.c | 3 +++
> drivers/dax/hmem/hmem.c | 2 ++
> drivers/dax/kmem.c | 3 +++
> drivers/dax/pmem.c | 1 +
> 5 files changed, 10 insertions(+)
>
Reviewed-by: Dave Jiang <[email protected]>
for the series