Re: huge tlb support - Mailing list pgsql-hackers

From yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Subject Re: huge tlb support
Date
Msg-id 20120709064130.CBEF114A17D@mail.netbsd.org
Whole thread Raw
In response to Re: huge tlb support  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) writes:
>>> Also, I was under the impression that recent Linux kernels use hugepages
>>> automatically if they can, so I wonder exactly what Andres was testing
>>> on ...
> 
>> if you mean the "trasparent hugepage" feature, iirc it doesn't affect
>> MAP_SHARED mappings like this.
> 
> Oh!  That would explain some things.  It seems like a pretty nasty
> restriction though ... do you know why they did that?

i don't know.  simply because it wasn't trivial, i guess.
the feature was implemented for kvm's guest memory, which is
non-shared anonymous memory from POV of host kernel.

YAMAMOTO Takashi

> 
>             regards, tom lane
> 
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers


pgsql-hackers by date:

Previous
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Date:
Subject: Re: huge tlb support
Next
From: Amit Kapila
Date:
Subject: 2 defects that should get fixed