@@ -64,15 +64,15 @@ EXPORT_SYMBOL(jiffies_64);
64
64
65
65
/*
66
66
* The timer wheel has LVL_DEPTH array levels. Each level provides an array of
67
- * LVL_SIZE buckets. Each level is driven by its own clock and therefor each
67
+ * LVL_SIZE buckets. Each level is driven by its own clock and therefore each
68
68
* level has a different granularity.
69
69
*
70
- * The level granularity is: LVL_CLK_DIV ^ lvl
70
+ * The level granularity is: LVL_CLK_DIV ^ level
71
71
* The level clock frequency is: HZ / (LVL_CLK_DIV ^ level)
72
72
*
73
73
* The array level of a newly armed timer depends on the relative expiry
74
74
* time. The farther the expiry time is away the higher the array level and
75
- * therefor the granularity becomes.
75
+ * therefore the granularity becomes.
76
76
*
77
77
* Contrary to the original timer wheel implementation, which aims for 'exact'
78
78
* expiry of the timers, this implementation removes the need for recascading
@@ -207,7 +207,7 @@ EXPORT_SYMBOL(jiffies_64);
207
207
* struct timer_base - Per CPU timer base (number of base depends on config)
208
208
* @lock: Lock protecting the timer_base
209
209
* @running_timer: When expiring timers, the lock is dropped. To make
210
- * sure not to race agains deleting/modifying a
210
+ * sure not to race against deleting/modifying a
211
211
* currently running timer, the pointer is set to the
212
212
* timer, which expires at the moment. If no timer is
213
213
* running, the pointer is NULL.
@@ -737,7 +737,7 @@ static bool timer_is_static_object(void *addr)
737
737
}
738
738
739
739
/*
740
- * fixup_init is called when:
740
+ * timer_fixup_init is called when:
741
741
* - an active object is initialized
742
742
*/
743
743
static bool timer_fixup_init (void * addr , enum debug_obj_state state )
@@ -761,7 +761,7 @@ static void stub_timer(struct timer_list *unused)
761
761
}
762
762
763
763
/*
764
- * fixup_activate is called when:
764
+ * timer_fixup_activate is called when:
765
765
* - an active object is activated
766
766
* - an unknown non-static object is activated
767
767
*/
@@ -783,7 +783,7 @@ static bool timer_fixup_activate(void *addr, enum debug_obj_state state)
783
783
}
784
784
785
785
/*
786
- * fixup_free is called when:
786
+ * timer_fixup_free is called when:
787
787
* - an active object is freed
788
788
*/
789
789
static bool timer_fixup_free (void * addr , enum debug_obj_state state )
@@ -801,7 +801,7 @@ static bool timer_fixup_free(void *addr, enum debug_obj_state state)
801
801
}
802
802
803
803
/*
804
- * fixup_assert_init is called when:
804
+ * timer_fixup_assert_init is called when:
805
805
* - an untracked/uninit-ed object is found
806
806
*/
807
807
static bool timer_fixup_assert_init (void * addr , enum debug_obj_state state )
@@ -914,7 +914,7 @@ static void do_init_timer(struct timer_list *timer,
914
914
* @key: lockdep class key of the fake lock used for tracking timer
915
915
* sync lock dependencies
916
916
*
917
- * init_timer_key() must be done to a timer prior calling *any* of the
917
+ * init_timer_key() must be done to a timer prior to calling *any* of the
918
918
* other timer functions.
919
919
*/
920
920
void init_timer_key (struct timer_list * timer ,
@@ -1417,7 +1417,7 @@ static int __timer_delete(struct timer_list *timer, bool shutdown)
1417
1417
* If @shutdown is set then the lock has to be taken whether the
1418
1418
* timer is pending or not to protect against a concurrent rearm
1419
1419
* which might hit between the lockless pending check and the lock
1420
- * aquisition . By taking the lock it is ensured that such a newly
1420
+ * acquisition . By taking the lock it is ensured that such a newly
1421
1421
* enqueued timer is dequeued and cannot end up with
1422
1422
* timer->function == NULL in the expiry code.
1423
1423
*
@@ -2306,7 +2306,7 @@ static inline u64 __get_next_timer_interrupt(unsigned long basej, u64 basem,
2306
2306
2307
2307
/*
2308
2308
* When timer base is not set idle, undo the effect of
2309
- * tmigr_cpu_deactivate() to prevent inconsitent states - active
2309
+ * tmigr_cpu_deactivate() to prevent inconsistent states - active
2310
2310
* timer base but inactive timer migration hierarchy.
2311
2311
*
2312
2312
* When timer base was already marked idle, nothing will be
0 commit comments