He, Qing wrote:
>
> +static char *vmx_io_bitmap;
>
If you write
static char vmx_io_bitmap[PAGE_SIZE*2] __aligned(PAGE_SIZE);
you can avoid the allocation and deallocation completely. But you have
to use vmalloc_to_page() instead of __pa().
--
error compiling committee.c: too many a
He, Qing wrote:
> This patch enables IO bitmaps control on vmx and unmask the 0x80 port to
> avoid VMEXITs caused by accessing port 0x80. 0x80 is used as delays (see
> include/asm/io.h), and handling VMEXITs on its access is unnecessary but
> slows things down. This patch improves kernel build test
>-Original Message-
>From: Neo Jia [mailto:[EMAIL PROTECTED]
>Sent: 2007年4月29日 14:36
>To: He, Qing
>Cc: kvm-devel
>Subject: Re: [kvm-devel] [PATCH] vmx: enable io bitmaps to avoid IO port 0x80
>VMEXITs
>
>On 4/29/07, He, Qing <[EMAIL PROTECTED]> wrote:
On 4/29/07, He, Qing <[EMAIL PROTECTED]> wrote:
> This patch enables IO bitmaps control on vmx and unmask the 0x80 port to
> avoid VMEXITs caused by accessing port 0x80. 0x80 is used as delays (see
> include/asm/io.h), and handling VMEXITs on its access is unnecessary but
> slows things down. This
This patch enables IO bitmaps control on vmx and unmask the 0x80 port to
avoid VMEXITs caused by accessing port 0x80. 0x80 is used as delays (see
include/asm/io.h), and handling VMEXITs on its access is unnecessary but
slows things down. This patch improves kernel build test at around
3%~5%.