lkml.org 
[lkml]   [2015]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectHow is jiffies upation while holding spinlock in Uniprocessor or SMP environment?
From
Hello,
I have couple of questions.
1) In case of UP how is jiffies(timer) get updated while holding spin
lock using spinlock_irq_save?

2)My understanding is in smp environment jiffies updation cannot be
done on processor holding spinlock irrespective of spinlock API.So
timer interrupt should be enabled across all cores in SoC. Imagine a
scenario in quad core processor where 4 cores are holding 4 different
spinlocks & how is the timer interrupt for jiffies handled?


\
 
 \ /
  Last update: 2015-10-26 08:01    [W:0.046 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site