Re: Patch fürMAP_HUGETLB for mmap() shared memory
От | Andres Freund |
---|---|
Тема | Re: Patch fürMAP_HUGETLB for mmap() shared memory |
Дата | |
Msg-id | 20121113090310.GE8197@awork2.anarazel.de обсуждение исходный текст |
Ответ на | Re: Re: [HACKERS] Patch für MAP_HUGETLB for mmap() shared memory (Christian Kruse <cjk+postgres@defunct.ch>) |
Список | pgsql-hackers |
Oh, one more thing... On 2012-10-30 21:16:07 +0100, Christian Kruse wrote: > ok, I think I implemented all of the changes you requested. All but > the ia64 dependent, I have to do more research for this one. I vote for simply not caring about ia64. This is: > +#ifdef MAP_HUGETLB > +# ifdef __ia64__ > +# define PG_HUGETLB_BASE_ADDR (void *)(0x8000000000000000UL) > +# define PG_MAP_HUGETLB (MAP_HUGETLB|MAP_FIXED) > +# else > +# define PG_HUGETLB_BASE_ADDR (void *)(0x0UL) > +# define PG_MAP_HUGETLB MAP_HUGETLB > +# endif > +#else > +# define PG_MAP_HUGETLB 0 > +#endif too much underdocumented crazyness for a very minor platform. Should somebody with the approprate harware want to submit an additional patch, fine.... Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: