pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/10d3f04aec745c6676ef31611549b970a78338b3

97560d244c08.css" /> gh-112808: Fix mimalloc build on Solaris (#112809) · python/cpython@10d3f04 · GitHub
Skip to content

Commit 10d3f04

Browse files
authored
gh-112808: Fix mimalloc build on Solaris (#112809)
1 parent ae968d1 commit 10d3f04

File tree

1 file changed

+1
-1
lines changed
  • Objects/mimalloc/prim/unix

1 file changed

+1
-1
lines changed

Objects/mimalloc/prim/unix/prim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static void* unix_mmap(void* addr, size_t size, size_t try_alignment, int protec
310310
#elif defined(__sun)
311311
if (allow_large && _mi_os_use_large_page(size, try_alignment)) {
312312
struct memcntl_mha cmd = {0};
313-
cmd.mha_pagesize = large_os_page_size;
313+
cmd.mha_pagesize = 2*MI_MiB;
314314
cmd.mha_cmd = MHA_MAPSIZE_VA;
315315
if (memcntl((caddr_t)p, size, MC_HAT_ADVISE, (caddr_t)&cmd, 0, 0) == 0) {
316316
*is_large = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy