On Mon, Nov 16, Andrew Cooper wrote:
> On 16/11/15 06:36, Zhangbo (Oscar) wrote:
> > Hi all:
> > I'd like to SLEEP a while in xen kernel during VMEXIT, the easiest way
> > is to call "udelay" or "mdelay" there. However, these 2 functions use busy
> > wait to sleep, which is a waste.
> > In
On 16/11/15 06:36, Zhangbo (Oscar) wrote:
> Hi all:
> I'd like to SLEEP a while in xen kernel during VMEXIT, the easiest way is
> to call "udelay" or "mdelay" there. However, these 2 functions use busy wait
> to sleep, which is a waste.
> In linux kernel, there's a function named
On Mon, Nov 16, 2015 at 9:56 AM, Andrew Cooper
wrote:
> On 16/11/15 06:36, Zhangbo (Oscar) wrote:
>> Hi all:
>> I'd like to SLEEP a while in xen kernel during VMEXIT, the easiest way is
>>to call "udelay" or "mdelay" there. However, these 2 functions use busy wait
Hi all:
I'd like to SLEEP a while in xen kernel during VMEXIT, the easiest way is to
call "udelay" or "mdelay" there. However, these 2 functions use busy wait to
sleep, which is a waste.
In linux kernel, there's a function named 'schedule_timeout', allowing the
CPU to run other tasks