mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How is jiffies upation while holding spinlock in Uniprocessor or SMP environment?
@ 2015-10-26  6:49 raghu MG
  2015-10-26 10:48 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: raghu MG @ 2015-10-26  6:49 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, Andrew Lunn

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-30 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26  6:49 How is jiffies upation while holding spinlock in Uniprocessor or SMP environment? raghu MG
2015-10-26 10:48 ` Russell King - ARM Linux
2015-10-30 10:59   ` raghu MG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®