Skip to contentSkip to conversation

DISCUSSION am kara 2 participants 2 messages Feb 3, 2008

lore
Share & tools
lore

am kara

author
#0 lore raw

hello,

If kernel does kmap_atomic(temporary kernel mapping) on behalf of a process by a cpu, does the process will continue to run and no other process can be scheduled to switch it off?(till kunmap_atomic is done)

      ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

#1 lore raw
Quoted 6 lines · am kara

hello,

If kernel does kmap_atomic(temporary kernel mapping) on behalf of a process by a cpu, does the process will continue to run and no other process can be scheduled to switch it off?(till kunmap_atomic is done)

Effectively, kmap_atomic implementations call pagefault_disable and that in turn is equivalent to preempt_disable() so the answer to your question seems to be "yes".

Benny