Fix thinko in huge_tlb_pages patch. We calculated the rounded-up size for the allocation, but then failed to use the rounded-up value in the mmap() call. Oops.
Also, initialize allocsize, to silence warnings seen with some compilers, as pointed out by Jeff Janes. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/699b1f40da3139def660235fa8a782ec8dd8f575 Modified Files -------------- src/backend/port/sysv_shmem.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers