Re: Patch fürMAP_HUGETLB for mmap() shared memory

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Patch fürMAP_HUGETLB for mmap() shared memory
Дата
Msg-id 20121221203742.GA26107@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Re: [HACKERS] Patch für MAP_HUGETLB for mmap() shared memory  (Christian Kruse <cjk+postgres@defunct.ch>)
Список pgsql-hackers
On 2012-10-30 21:16:07 +0100, Christian Kruse wrote:
> +static long
> +InternalGetHugepageSize()
> +{
> +    DIR *dir = opendir(HUGE_PAGE_INFO_DIR);
> +    long smallest_size = -1, size;
> +    char *ptr;
> ...
> +    while((ent = readdir(dir)) != NULL)
> +    {

This should be (Allocate|Read)Dir btw.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: pgcrypto seeding problem when ssl=on
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Event Triggers: adding information