[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG1O52Wq9uCXkOgttQ7gYECQsbFufug2LCBJQfNU309i5QNH6A@mail.gmail.com>
Date: Mon, 26 Oct 2015 12:19:31 +0530
From: raghu MG <raghumag@...il.com>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>
Subject: How is jiffies upation while holding spinlock in Uniprocessor or SMP environment?
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists