Skip to contentSkip to conversation

asynchronous page fault question

DISCUSSION Heiko Carstens 1 participant 1 message Sep 16, 2009 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Gleb Natapov

Hello,

pfault_interrupt() puts tsk task to sleep (in case real page is
missing), but wait if asynchronous page fault interrupt happens in non sleepable context? Can this even happen?

No. A (synchronous) pfault interrupt for a missing page happens only if user space accesses a page.
Thats what the comparison and selection masks in the diag 0x258 parameter list are good for.

If a page is present again an interrupt is presented. But the context doesn't matter in this case.