Re: [Qemu-devel] [PATCH] exec: Advise huge pages for the TCG code gen buffer

2012-12-08 Thread Blue Swirl
Thanks, applied. On Thu, Nov 1, 2012 at 10:20 PM, Richard Henderson wrote: > After allocating 32MB or more contiguous memory, huge pages > would seem to be ideal. > > Signed-off-by: Richard Henderson > --- > exec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/exec.c b/exec.c > ind

[Qemu-devel] [PATCH] exec: Advise huge pages for the TCG code gen buffer

2012-11-01 Thread Richard Henderson
After allocating 32MB or more contiguous memory, huge pages would seem to be ideal. Signed-off-by: Richard Henderson --- exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index df67938..ab07f68 100644 --- a/exec.c +++ b/exec.c @@ -602,6 +602,8 @@ static inline void cod