Re: [PATCH] Use MAP_HUGETLB where supported (v3)

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: [PATCH] Use MAP_HUGETLB where supported (v3)
Дата
Msg-id 20131030170920.GI4183@toroid.org
обсуждение исходный текст
Ответ на Re: [PATCH] Use MAP_HUGETLB where supported (v3)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Use MAP_HUGETLB where supported (v3)  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
At 2013-10-30 11:04:36 -0400, tgl@sss.pgh.pa.us wrote:
>
> > As a compromise, perhaps we can unconditionally round the size up to be
> > a multiple of 2MB? […]
>
> That sounds reasonably painless to me.

Here's a patch that does that and adds a DEBUG1 log message when we try
with MAP_HUGETLB and fail and fallback to ordinary mmap.

-- Abhijit

Вложения

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

Предыдущее
От: Leonardo Francalanci
Дата:
Сообщение: Re: Fast insertion indexes: why no developments
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Use MAP_HUGETLB where supported (v3)