Re: MONITOR/MWAIT question

2011-01-08 Thread Matthew Dillon
:On Sat, Dec 18, 2010 at 02:24:34PM -0800, Matthew Dillon wrote: :> Does anyone know if an IRET cancels/triggers a MONITOR event? : :AMD's Architecture Programmer's Manual explicitly contains: : :Events that cause an exit from the monitor event pending state include: :... :- Any far control tr

Re: MONITOR/MWAIT question

2010-12-18 Thread Joerg Sonnenberger
On Sat, Dec 18, 2010 at 02:24:34PM -0800, Matthew Dillon wrote: > Does anyone know if an IRET cancels/triggers a MONITOR event? AMD's Architecture Programmer's Manual explicitly contains: Events that cause an exit from the monitor event pending state include: ... - Any far control transfer th

MONITOR/MWAIT question

2010-12-18 Thread Matthew Dillon
Does anyone know if an IRET cancels/triggers a MONITOR event? Here's the problem: (1) main line kernel code is executing a MONITOR/MWAIT sequence. It executes its MONITOR but has not yet gotten to the MWAIT. (2) An interrupt occurs inbetween the MONITOR and the MWAIT.