¹ã¶«Ê¡»ªÁªÃ³Ò×ÓÐÏÞ¹«Ë¾ÊÇ2008Ä꾹㶫²ÆÕþ¾ÖÅú×¼µÄ²ÆË°×ÉѯóÒ×ÓÐÏÞ¹«Ë¾¡£ÎÒ¹«Ë¾×¨Òµ´ÓʲÆÎñ¡¢Ë°Îñ´úÀí¡¢²ÆË°×ÉѯµÈÒµÎñµÄרҵ»ú¹¹¡£¿ÉÏòÍâ´ú¿ª¸÷ÖÖ·¢Æ¯£¨ÉÌÆ·¡¢½¨Öþ¡¢ÔËÊä¡¢¹ã¸æ¡¢·þÎñ²ÍÒû¡¢¾ÆµêµÈ£©¡£±¾¹«Ë¾³ÉÁ¢¶àÄêÒ»Ö±¼á³ÖÒÔ³ÏÐÅΪÖÐÐÄÁ¢×ãÓÚÊг¡¡£
»¶ÓÀ´µç×Éѯ£¬±¾¹«Ë¾Ï£ÍûÓë¹ó¹«Ë¾£¨³§¼Ò£©Õæ³ÏºÏ×÷!ÈçÓдòÈÅÇë¼ûÁ
Eric,
On 07/11/11 10:51, Eric B Munson wrote:
> diff --git a/man/hugeadm.8 b/man/hugeadm.8
> index 0c577bc..388749a 100644
> --- a/man/hugeadm.8
> +++ b/man/hugeadm.8
> @@ -238,10 +238,45 @@ make the swap space persist after the resize operation
> is completed. The swap
> spaces can later be re
Eric,
On 07/11/11 10:51, Eric B Munson wrote:
> diff --git a/man/hugectl.8 b/man/hugectl.8
> index 319742e..11de2aa 100644
> --- a/man/hugectl.8
> +++ b/man/hugectl.8
> @@ -63,6 +63,17 @@ Request that multiple application instances share text
> segments that are
> backed with huge pages. This o
Eric,
On 07/11/11 10:51, Eric B Munson wrote:
> diff --git a/morecore.c b/morecore.c
> index 6b4364c..c2a445c 100644
> --- a/morecore.c
> +++ b/morecore.c
> @@ -202,6 +202,72 @@ static void *hugetlbfs_morecore(ptrdiff_t increment)
> return p;
> }
>
> +static void *thp_morecore(ptrdiff_t i
Eric,
On 07/11/11 10:51, Eric B Munson wrote:
> Transparent huge pages (THP) make using huge pages on x86(_64) incredibly
> easy.
> However, the standard glibc malloc is not setup to optimixe allocations to be
> fulfilled as THP, relying on khugepaged to scan and merge huge pages when
> possible.