Re: [PATCH v5 04/12] Provide special async page fault handler when async PF capability is detected

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gleb Natapov
Date: Tuesday, August 24, 2010 - 12:31 am

On Mon, Aug 23, 2010 at 06:48:53PM +0300, Avi Kivity wrote:
Should be u32. Will fix.

Tokens are globally unique.

Host does not need to synchronize to generate globally unique token
since vcpu id is part of a token.

Waiter cannot migrate to other cpu since it is sleeping. It may be
scheduled to run on any cpu when it will be waked.

No. It is called directly from exception handler.

OK. This is just a comment :)

This busy wait happens only if (very small) allocation fails, so if
a guest ever hits this code path I expect it to be on his way to die
anyway.

We can have may outstanding apfs.


--
			Gleb.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v5 04/12] Provide special async page fault hand ..., Gleb Natapov, (Tue Aug 24, 12:31 am)