Thread (2 messages) 2 messages, 2 authors, 2015-07-01

CONFIG_PREEMPT_NONE and interrupts

From: Dave Hylands <hidden>
Date: 2015-07-01 20:45:27

Meant to use reply-to-all:

On Wed, Jul 1, 2015 at 10:00 AM, Sudharsan Vijayaraghavan <
sudvijayr@gmail.com> wrote:
HI All,

Please validate my understanding regarding the following,

While CONFIG_PREEMPT_NONE is set 1 and a process is already in kernel
mode, interrupts to that core will not honored until it exits from
kernel mode,
My understanding is that CONFIG_PREEMPT_NONE has nothing to do with
interrupts. Those will still happen.

But if a thread is running, then it won't be preempted by another thread
until it decides to block (as opposed to being preempted at the end of its
time slice or by an interrupt making another thread ready-to-run).

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150701/935bdde3/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help