From: cheloha Date: Sun, 18 Feb 2024 00:54:03 +0000 (+0000) Subject: dt(4): profile: remove clock interrupt staggering X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=173b228135c3f68aa4d8194978684a9083fcdfab;p=openbsd dt(4): profile: remove clock interrupt staggering Clock interrupt staggering makes profiling more expensive on average. Remove it. Thread: https://marc.info/?l=openbsd-tech&m=170751016121770&w=2 ok mpi@ --- diff --git a/sys/dev/dt/dt_dev.c b/sys/dev/dt/dt_dev.c index 2383d3a732e..e11122687eb 100644 --- a/sys/dev/dt/dt_dev.c +++ b/sys/dev/dt/dt_dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dt_dev.c,v 1.30 2024/02/09 17:42:18 cheloha Exp $ */ +/* $OpenBSD: dt_dev.c,v 1.31 2024/02/18 00:54:03 cheloha Exp $ */ /* * Copyright (c) 2019 Martin Pieuchot @@ -497,8 +497,6 @@ dt_ioctl_record_start(struct dt_softc *sc) if (dp->dp_nsecs != 0) { clockintr_bind(&dp->dp_clockintr, dp->dp_cpu, dt_clock, dp); - clockintr_stagger(&dp->dp_clockintr, dp->dp_nsecs, - CPU_INFO_UNIT(dp->dp_cpu), MAXCPUS); clockintr_advance(&dp->dp_clockintr, dp->dp_nsecs); } }