• Neeraj Upadhyay's avatar
    rcu: Default jiffies_to_sched_qs to jiffies_till_sched_qs · 6973032a
    Neeraj Upadhyay authored
    The current code only calls adjust_jiffies_till_sched_qs() if
    jiffies_till_sched_qs is left at its default value, so when the
    jiffies_till_sched_qs kernel-boot parameter actually is specified,
    jiffies_to_sched_qs will be left with the value zero, which
    will result in useless slowdowns of cond_resched().  This commit
    therefore changes rcu_init_geometry() to unconditionally invoke
    adjust_jiffies_till_sched_qs(), which ensures that jiffies_to_sched_qs
    will be initialized in all cases, thus maintaining good cond_resched()
    performance.
    Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
    6973032a
tree.c 122 KB