MySQL 8.4.2
Source Code Documentation
large_page_alloc-solaris.h File Reference

Solaris-specific implementation bits and pieces for large (huge) page allocations. More...

#include <sys/mman.h>
#include <sys/types.h>
#include "mysqld_error.h"
#include "storage/innobase/include/detail/ut/helper.h"
#include "storage/innobase/include/ut0log.h"

Go to the source code of this file.

Namespaces

namespace  ut
 This file contains a set of libraries providing overloads for regular dynamic allocation routines which allow for opt-in memory instrumentation through performance schema memory engine (PFS).
 
namespace  ut::detail
 

Functions

void * ut::detail::large_page_aligned_alloc (size_t n_bytes)
 Allocates memory backed by large (huge) pages. More...
 
bool ut::detail::large_page_aligned_free (void *ptr, size_t n_bytes)
 Releases memory backed by large (huge) pages. More...
 
std::vector< size_t > ut::detail::large_page_all_supported_sizes ()
 Queries all possible page-sizes. More...
 
size_t ut::detail::large_page_size ()
 Queries the current size of large (huge) pages on running system. More...
 

Variables

const size_t large_page_default_size
 System-default huge (large) page setting. More...
 

Detailed Description

Solaris-specific implementation bits and pieces for large (huge) page allocations.

Variable Documentation

◆ large_page_default_size

const size_t large_page_default_size
extern

System-default huge (large) page setting.