treewide: Fix wrong singular form of jiffies in comments
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Wed, 4 Sep 2024 13:04:53 +0000 (15:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 8 Sep 2024 18:47:40 +0000 (20:47 +0200)
There are several comments all over the place, which uses a wrong singular
form of jiffies.

Replace 'jiffie' by 'jiffy'. No functional change.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
Link: https://lore.kernel.org/all/20240904-devel-anna-maria-b4-timers-flseep-v1-3-e98760256370@linutronix.de
24 files changed:
Documentation/admin-guide/media/vivid.rst
Documentation/timers/timers-howto.rst
Documentation/translations/sp_SP/scheduler/sched-design-CFS.rst
arch/arm/mach-versatile/spc.c
arch/m68k/q40/q40ints.c
arch/x86/kernel/cpu/mce/dev-mcelog.c
drivers/char/ipmi/ipmi_ssif.c
drivers/dma-buf/st-dma-fence.c
drivers/gpu/drm/i915/gem/i915_gem_wait.c
drivers/gpu/drm/i915/gt/selftest_execlists.c
drivers/gpu/drm/i915/i915_utils.c
drivers/gpu/drm/v3d/v3d_bo.c
drivers/isdn/mISDN/dsp_cmx.c
drivers/net/ethernet/marvell/mvmdio.c
fs/xfs/xfs_buf.h
include/linux/jiffies.h
include/linux/timekeeper_internal.h
kernel/time/alarmtimer.c
kernel/time/clockevents.c
kernel/time/hrtimer.c
kernel/time/posix-timers.c
kernel/time/timer.c
lib/Kconfig.debug
net/batman-adv/types.h

index 1306f19ecb5acc52c0aa61785962d2443e9e3c64..c9d301ab46a383e0dd88056891298c16949b6b77 100644 (file)
@@ -328,7 +328,7 @@ and an HDMI input, one input for each input type. Those are described in more
 detail below.
 
 Special attention has been given to the rate at which new frames become
-available. The jitter will be around 1 jiffie (that depends on the HZ
+available. The jitter will be around 1 jiffy (that depends on the HZ
 configuration of your kernel, so usually 1/100, 1/250 or 1/1000 of a second),
 but the long-term behavior is exactly following the framerate. So a
 framerate of 59.94 Hz is really different from 60 Hz. If the framerate
index 5c169e3d29a8e586c3933b3a1bec1dbac686fda9..ef7a4652ccc9dc2b84851d1c1166d140b3de4d8a 100644 (file)
@@ -19,7 +19,7 @@ it really need to delay in atomic context?" If so...
 
 ATOMIC CONTEXT:
        You must use the `*delay` family of functions. These
-       functions use the jiffie estimation of clock speed
+       functions use the jiffy estimation of clock speed
        and will busy wait for enough loop cycles to achieve
        the desired delay:
 
index 90a153cad4e865be72d83a3f63cea7d169c4a116..731c266beb1a14f0aa024d2bd3a5c79eb6b11775 100644 (file)
@@ -109,7 +109,7 @@ para que se ejecute, y la tarea en ejecución es interrumpida.
 ==================================
 
 CFS usa una granularidad de nanosegundos y no depende de ningún
-jiffie o detalles como HZ. De este modo, el gestor de tareas CFS no tiene
+jiffy o detalles como HZ. De este modo, el gestor de tareas CFS no tiene
 noción de "ventanas de tiempo" de la forma en que tenía el gestor de
 tareas previo, y tampoco tiene heurísticos. Únicamente hay un parámetro
 central ajustable (se ha de cambiar en CONFIG_SCHED_DEBUG):
index 5e44170e1a9afb3263905194e50646e435ddae0a..790092734cf6155daa63c44a1e5af00ecef30737 100644 (file)
@@ -73,7 +73,7 @@
 
 /*
  * Even though the SPC takes max 3-5 ms to complete any OPP/COMMS
- * operation, the operation could start just before jiffie is about
+ * operation, the operation could start just before jiffy is about
  * to be incremented. So setting timeout value of 20ms = 2jiffies@100Hz
  */
 #define TIMEOUT_US     20000
index 10f1f294e91f9705e10eb922a09d976910cc17ef..14b774b9d308b5ecc66946a613f7eafe0d689a00 100644 (file)
@@ -106,7 +106,7 @@ void __init q40_init_IRQ(void)
  * this stuff doesn't really belong here..
  */
 
-int ql_ticks;              /* 200Hz ticks since last jiffie */
+int ql_ticks;              /* 200Hz ticks since last jiffy */
 static int sound_ticks;
 
 #define SVOL 45
index a05ac0716ecfb96b0ce23e9b4b6c623116f7f7ac..a3aa0199222e38284e506f6b67b244c79f0a286b 100644 (file)
@@ -314,7 +314,7 @@ static ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf,
 
        /*
         * Need to give user space some time to set everything up,
-        * so do it a jiffie or two later everywhere.
+        * so do it a jiffy or two later everywhere.
         */
        schedule_timeout(2);
 
index 96ad571d041a95999ec137469358f9e9cbde9702..e093028391afda2873cd2368c44d440dfb16ef6e 100644 (file)
@@ -980,7 +980,7 @@ static void msg_written_handler(struct ssif_info *ssif_info, int result,
                        ipmi_ssif_unlock_cond(ssif_info, flags);
                        start_get(ssif_info);
                } else {
-                       /* Wait a jiffie then request the next message */
+                       /* Wait a jiffy then request the next message */
                        ssif_info->waiting_alert = true;
                        ssif_info->retries_left = SSIF_RECV_RETRIES;
                        if (!ssif_info->stopping)
index 6a1bfcd0cc21081cb42db82b3c61032ad2e401b2..cf2ce3744ce6e9924175f5201bd0c69e268d19ff 100644 (file)
@@ -402,7 +402,7 @@ static int test_wait_timeout(void *arg)
 
        if (dma_fence_wait_timeout(wt.f, false, 2) == -ETIME) {
                if (timer_pending(&wt.timer)) {
-                       pr_notice("Timer did not fire within the jiffie!\n");
+                       pr_notice("Timer did not fire within the jiffy!\n");
                        err = 0; /* not our fault! */
                } else {
                        pr_err("Wait reported incomplete after timeout\n");
index d4b918fb11cebd73b1e5368b6fa1319bce3a653f..1f55e62044a4beef1c824b7887713ccd92eeb963 100644 (file)
@@ -266,7 +266,7 @@ i915_gem_wait_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
                if (ret == -ETIME && !nsecs_to_jiffies(args->timeout_ns))
                        args->timeout_ns = 0;
 
-               /* Asked to wait beyond the jiffie/scheduler precision? */
+               /* Asked to wait beyond the jiffy/scheduler precision? */
                if (ret == -ETIME && args->timeout_ns)
                        ret = -EAGAIN;
        }
index 4202df5b8c122f9a2edb9203bfe7f5eb882cea3b..222ca7c44951966bd85e948a073d5ebe3fbc74df 100644 (file)
@@ -93,7 +93,7 @@ static int wait_for_reset(struct intel_engine_cs *engine,
                return -EINVAL;
        }
 
-       /* Give the request a jiffie to complete after flushing the worker */
+       /* Give the request a jiffy to complete after flushing the worker */
        if (i915_request_wait(rq, 0,
                              max(0l, (long)(timeout - jiffies)) + 1) < 0) {
                pr_err("%s: hanging request %llx:%lld did not complete\n",
@@ -3426,7 +3426,7 @@ static int live_preempt_timeout(void *arg)
                        cpu_relax();
 
                saved_timeout = engine->props.preempt_timeout_ms;
-               engine->props.preempt_timeout_ms = 1; /* in ms, -> 1 jiffie */
+               engine->props.preempt_timeout_ms = 1; /* in ms, -> 1 jiffy */
 
                i915_request_get(rq);
                i915_request_add(rq);
index 6f9e7b354b5441dbe518827ad6e48df99cdbccea..f2ba51c20e975c32108ea935833031033ee70453 100644 (file)
@@ -110,7 +110,7 @@ void set_timer_ms(struct timer_list *t, unsigned long timeout)
         * Paranoia to make sure the compiler computes the timeout before
         * loading 'jiffies' as jiffies is volatile and may be updated in
         * the background by a timer tick. All to reduce the complexity
-        * of the addition and reduce the risk of losing a jiffie.
+        * of the addition and reduce the risk of losing a jiffy.
         */
        barrier();
 
index a165cbcdd27b944ceeb9a8824d2f38cc4f1e7d05..9eafe53a8f41a723f68934daec2d3ba29ce994be 100644 (file)
@@ -279,7 +279,7 @@ v3d_wait_bo_ioctl(struct drm_device *dev, void *data,
        else
                args->timeout_ns = 0;
 
-       /* Asked to wait beyond the jiffie/scheduler precision? */
+       /* Asked to wait beyond the jiffy/scheduler precision? */
        if (ret == -ETIME && args->timeout_ns)
                ret = -EAGAIN;
 
index 61cb45c5d0d8403d0c8dc61eb31ce04f4acca460..53fad9487574aa85f4aad5a6cee259f9cd580653 100644 (file)
@@ -82,7 +82,7 @@
  *  - has multiple clocks.
  *  - has no usable clock due to jitter or packet loss (VoIP).
  * In this case the system's clock is used. The clock resolution depends on
- * the jiffie resolution.
+ * the jiffy resolution.
  *
  * If a member joins a conference:
  *
index 9190eff6c0bba3b4f50bfa122aa311593c503ef8..e1d003fdbc2ed217e0fe20ea091ffd172cee1471 100644 (file)
@@ -104,7 +104,7 @@ static int orion_mdio_wait_ready(const struct orion_mdio_ops *ops,
                        return 0;
        } else {
                /* wait_event_timeout does not guarantee a delay of at
-                * least one whole jiffie, so timeout must be no less
+                * least one whole jiffy, so timeout must be no less
                 * than two.
                 */
                timeout = max(usecs_to_jiffies(MVMDIO_SMI_TIMEOUT), 2);
index b1580644501fb079d1a719226fce4ccaf23c491f..209a389f2abca82ce831a49d2d27a9ab13559969 100644 (file)
@@ -210,7 +210,7 @@ struct xfs_buf {
         * success the write is considered to be failed permanently and the
         * iodone handler will take appropriate action.
         *
-        * For retry timeouts, we record the jiffie of the first failure. This
+        * For retry timeouts, we record the jiffy of the first failure. This
         * means that we can change the retry timeout for buffers already under
         * I/O and thus avoid getting stuck in a retry loop with a long timeout.
         *
index d9f1435a5a13cfe4d74bfb945265bad8ab7cb772..1220f0fbe5bf9fb6c559b4efd603db3e97db9b65 100644 (file)
@@ -418,7 +418,7 @@ extern unsigned long preset_lpj;
 #define NSEC_CONVERSION ((unsigned long)((((u64)1 << NSEC_JIFFIE_SC) +\
                                         TICK_NSEC -1) / (u64)TICK_NSEC))
 /*
- * The maximum jiffie value is (MAX_INT >> 1).  Here we translate that
+ * The maximum jiffy value is (MAX_INT >> 1).  Here we translate that
  * into seconds.  The 64-bit case will overflow if we are not careful,
  * so use the messy SH_DIV macro to do it.  Still all constants.
  */
index 84ff2844df2a8bc240b7186b7258fbef20c62940..902c20ef495acb53886753647c5c81c24b35c3ea 100644 (file)
@@ -73,7 +73,7 @@ struct tk_read_base {
  * @overflow_seen:     Overflow warning flag (DEBUG_TIMEKEEPING)
  *
  * Note: For timespec(64) based interfaces wall_to_monotonic is what
- * we need to add to xtime (or xtime corrected for sub jiffie times)
+ * we need to add to xtime (or xtime corrected for sub jiffy times)
  * to get to monotonic time.  Monotonic is pegged at zero at system
  * boot time, so wall_to_monotonic will be negative, however, we will
  * ALWAYS keep the tv_nsec part positive so we can use the usual
index 76bd4fda34726a4bdfbcfc59d2c5ee2a0b667ff6..8bf888641694918dbbd72de297adedae1aa0386d 100644 (file)
@@ -493,7 +493,7 @@ static u64 __alarm_forward_now(struct alarm *alarm, ktime_t interval, bool throt
                 * promised in the context of posix_timer_fn() never
                 * materialized, but someone should really work on it.
                 *
-                * To prevent DOS fake @now to be 1 jiffie out which keeps
+                * To prevent DOS fake @now to be 1 jiffy out which keeps
                 * the overrun accounting correct but creates an
                 * inconsistency vs. timer_gettime(2).
                 */
index 60a6484831b1738f09f7103194b7138cb9da8764..78c7bd64d0ddf70d164db298708487916436173f 100644 (file)
@@ -190,7 +190,7 @@ int clockevents_tick_resume(struct clock_event_device *dev)
 
 #ifdef CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST
 
-/* Limit min_delta to a jiffie */
+/* Limit min_delta to a jiffy */
 #define MIN_DELTA_LIMIT                (NSEC_PER_SEC / HZ)
 
 /**
index a023946f855803b8b7b0646a7dcbc421f524147c..e834b2bd83df8eb2e74eb40058c229ab629ea6de 100644 (file)
@@ -1177,7 +1177,7 @@ static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim,
        /*
         * CONFIG_TIME_LOW_RES indicates that the system has no way to return
         * granular time values. For relative timers we add hrtimer_resolution
-        * (i.e. one jiffie) to prevent short timeouts.
+        * (i.e. one jiffy) to prevent short timeouts.
         */
        timer->is_rel = mode & HRTIMER_MODE_REL;
        if (timer->is_rel)
index 1cc830ef93a7baaa1a51406f91e6c55932008795..4576aaed13b23b0150b3de0d4de67ca7e53d64b7 100644 (file)
@@ -339,14 +339,14 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
                         * change to the signal handling code.
                         *
                         * For now let timers with an interval less than a
-                        * jiffie expire every jiffie and recheck for a
+                        * jiffy expire every jiffy and recheck for a
                         * valid signal handler.
                         *
                         * This avoids interrupt starvation in case of a
                         * very small interval, which would expire the
                         * timer immediately again.
                         *
-                        * Moving now ahead of time by one jiffie tricks
+                        * Moving now ahead of time by one jiffy tricks
                         * hrtimer_forward() to expire the timer later,
                         * while it still maintains the overrun accuracy
                         * for the price of a slight inconsistency in the
index 5e021a2d8d61042b91bf9c967e73935e9f86c6fd..2b38f3035a3eeff9baa11fd6d2432e370f00e475 100644 (file)
@@ -365,7 +365,7 @@ static unsigned long round_jiffies_common(unsigned long j, int cpu,
        rem = j % HZ;
 
        /*
-        * If the target jiffie is just after a whole second (which can happen
+        * If the target jiffy is just after a whole second (which can happen
         * due to delays of the timer irq, long irq off times etc etc) then
         * we should round down to the whole second, not up. Use 1/4th second
         * as cutoff for this rounding as an extreme upper bound for this.
@@ -1930,7 +1930,7 @@ static void timer_recalc_next_expiry(struct timer_base *base)
                 * bits are zero, we look at the next level as is. If not we
                 * need to advance it by one because that's going to be the
                 * next expiring bucket in that level. base->clk is the next
-                * expiring jiffie. So in case of:
+                * expiring jiffy. So in case of:
                 *
                 * LVL5 LVL4 LVL3 LVL2 LVL1 LVL0
                 *  0    0    0    0    0    0
@@ -1995,7 +1995,7 @@ static u64 cmp_next_hrtimer_event(u64 basem, u64 expires)
                return basem;
 
        /*
-        * Round up to the next jiffie. High resolution timers are
+        * Round up to the next jiffy. High resolution timers are
         * off, so the hrtimers are expired in the tick and we need to
         * make sure that this tick really expires the timer to avoid
         * a ping pong of the nohz stop code.
@@ -2254,7 +2254,7 @@ static inline u64 __get_next_timer_interrupt(unsigned long basej, u64 basem,
                                             base_global, &tevt);
 
        /*
-        * If the next event is only one jiffie ahead there is no need to call
+        * If the next event is only one jiffy ahead there is no need to call
         * timer migration hierarchy related functions. The value for the next
         * global timer in @tevt struct equals then KTIME_MAX. This is also
         * true, when the timer base is idle.
@@ -2486,11 +2486,11 @@ static void run_local_timers(void)
                 * updated. When this update is missed, this isn't a
                 * problem, as an IPI is executed nevertheless when the CPU
                 * was idle before. When the CPU wasn't idle but the update
-                * is missed, then the timer would expire one jiffie late -
+                * is missed, then the timer would expire one jiffy late -
                 * bad luck.
                 *
                 * Those unlikely corner cases where the worst outcome is only a
-                * one jiffie delay or a superfluous raise of the softirq are
+                * one jiffy delay or a superfluous raise of the softirq are
                 * not that expensive as doing the check always while holding
                 * the lock.
                 *
index a30c03a6617263f916f5c500c145a7cdae45bbdf..a40aa606cd04f3a5cad1c7be5058de2f62e98044 100644 (file)
@@ -97,7 +97,7 @@ config BOOT_PRINTK_DELAY
          using "boot_delay=N".
 
          It is likely that you would also need to use "lpj=M" to preset
-         the "loops per jiffie" value.
+         the "loops per jiffy" value.
          See a previous boot log for the "lpj" value to use for your
          system, and then set "lpj=M" before setting "boot_delay=N".
          NOTE:  Using this option may adversely affect SMP systems.
index 00840d5784fe2599c99d4d580b9cc15ac8633b66..04f6398b3a40e86f5dcd7b6a2a3cc1965f770b32 100644 (file)
@@ -287,7 +287,7 @@ struct batadv_frag_table_entry {
        /** @lock: lock to protect the list of fragments */
        spinlock_t lock;
 
-       /** @timestamp: time (jiffie) of last received fragment */
+       /** @timestamp: time (jiffy) of last received fragment */
        unsigned long timestamp;
 
        /** @seqno: sequence number of the fragments in the list */