[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1614167749-22005-1-git-send-email-ylal@codeaurora.org>
Date: Wed, 24 Feb 2021 17:25:49 +0530
From: Yogesh Lal <ylal@...eaurora.org>
To: gregkh@...uxfoundation.org, rafael@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Yogesh Lal <ylal@...eaurora.org>
Subject: [PATCH] driver core: Use unbound workqueue for deferred probes
Queue deferred driver probes on unbounded workqueue, to allow
scheduler better manage scheduling of long running probes.
Signed-off-by: Yogesh Lal <ylal@...eaurora.org>
---
drivers/base/dd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 9179825f..c9c174a 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -182,7 +182,7 @@ static void driver_deferred_probe_trigger(void)
* Kick the re-probe thread. It may already be scheduled, but it is
* safe to kick it again.
*/
- schedule_work(&deferred_probe_work);
+ queue_work(system_unbound_wq, &deferred_probe_work);
}
/**
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member of the Code Aurora Forum, hosted by The Linux Foundation
Powered by blists - more mailing lists