MySQL 8.0.40
Source Code Documentation
large_page_alloc-win.h File Reference

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

#include <windows.h>
#include <memoryapi.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...
 
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

Windows-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.