git: c519a52692c7 - stable/13 - Align taskqueue_enqueue_timeout() to hardclock.

Alexander Motin mav at FreeBSD.org
Wed Sep 15 01:32:41 UTC 2021


The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=c519a52692c71f40a7241b108cd4aa90eb5c5b67

commit c519a52692c71f40a7241b108cd4aa90eb5c5b67
Author:     Alexander Motin <mav at FreeBSD.org>
AuthorDate: 2021-09-01 03:47:51 +0000
Commit:     Alexander Motin <mav at FreeBSD.org>
CommitDate: 2021-09-15 01:32:34 +0000

    Align taskqueue_enqueue_timeout() to hardclock.
    
    It is done for all other KPIs using HZ, but was missed here.
    
    MFC after:      2 weeks
    
    (cherry picked from commit 706b1a5724d668a8752ac89cd67113e4c6917d54)
---
 sys/kern/subr_taskqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index 0f1503c7f7c7..061361cc06d7 100644
--- a/sys/kern/subr_taskqueue.c
+++ b/sys/kern/subr_taskqueue.c
@@ -343,7 +343,7 @@ taskqueue_enqueue_timeout(struct taskqueue *queue,
 {
 
 	return (taskqueue_enqueue_timeout_sbt(queue, ttask, ticks * tick_sbt,
-	    0, 0));
+	    0, C_HARDCLOCK));
 }
 
 static void


More information about the dev-commits-src-branches mailing list