From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | cjk(at)wwwtech(dot)de |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Patch für MAP_HUGETLB for mmap() shared memory |
Date: | 2012-11-13 09:03:10 |
Message-ID: | 20121113090310.GE8197@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Wanner | 2012-11-13 10:12:58 | Re: Enabling Checksums |
Previous Message | Andres Freund | 2012-11-13 08:57:41 | Re: Re: [HACKERS] Patch für MAP_HUGETLB for mmap() shared memory |