Re: Patch für MAP_HUGETLB for mmap() shared memory
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: cjk@wwwtech.de
Cc: pgsql-hackers@postgresql.org
Date: 2012-11-13T09:03:10Z
Lists: 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Give a better error message when trying to change
- 3b07182e613a 8.4.0 cited