Skip to content

Commit

Permalink
[Appendix] Proofreading
Browse files Browse the repository at this point in the history
  • Loading branch information
dendibakh committed Apr 5, 2024
1 parent 3a2b47f commit 8d896f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/18-Appendix/Appendix-C.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ typora-root-url: ..\..\img

\markright{Appendix C}

## Windows
## Windows {.unnumbered}

To utilize huge pages on Windows, one needs to enable `SeLockMemoryPrivilege` [security policy](https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/lock-pages-in-memory). This can be done programatically via the Windows API, or alternatively via the security policy GUI.

Expand All @@ -30,7 +30,7 @@ void* p = VirtualAlloc(NULL, size, MEM_RESERVE |
VirtualFree(ptr, 0, MEM_RELEASE);
```
## Linux
## Linux {.unnumbered}
On Linux OS, there are two ways of using huge pages in an application: Explicit and Transparent Huge Pages.
Expand Down

0 comments on commit 8d896f5

Please sign in to comment.