diff --git a/src/pal/pal_free_bsd_kernel.h b/src/pal/pal_free_bsd_kernel.h index 1ae5d2c..184e854 100644 --- a/src/pal/pal_free_bsd_kernel.h +++ b/src/pal/pal_free_bsd_kernel.h @@ -36,7 +36,7 @@ namespace snmalloc kmem_unback(kernel_object, addr, size); } - /// Notify platform that we will not be using these pages + /// Notify platform that we will be using these pages template void notify_using(void* p, size_t size) { diff --git a/src/pal/pal_freebsd.h b/src/pal/pal_freebsd.h index 90a2f5b..4b1e856 100644 --- a/src/pal/pal_freebsd.h +++ b/src/pal/pal_freebsd.h @@ -27,7 +27,7 @@ namespace snmalloc madvise(p, size, MADV_FREE); } - /// Notify platform that we will not be using these pages + /// Notify platform that we will be using these pages template void notify_using(void* p, size_t size) noexcept { diff --git a/src/pal/pal_linux.h b/src/pal/pal_linux.h index 711d774..fb06058 100644 --- a/src/pal/pal_linux.h +++ b/src/pal/pal_linux.h @@ -29,7 +29,7 @@ namespace snmalloc UNUSED(size); } - /// Notify platform that we will not be using these pages + /// Notify platform that we will be using these pages template void notify_using(void* p, size_t size) noexcept { diff --git a/src/pal/pal_windows.h b/src/pal/pal_windows.h index 7fcd00e..82b6b6c 100644 --- a/src/pal/pal_windows.h +++ b/src/pal/pal_windows.h @@ -30,7 +30,7 @@ namespace snmalloc error("VirtualFree failed"); } - /// Notify platform that we will not be using these pages + /// Notify platform that we will be using these pages template void notify_using(void* p, size_t size) noexcept { @@ -108,4 +108,4 @@ namespace snmalloc } }; } -#endif \ No newline at end of file +#endif