fix doc comments for notify_using

This commit is contained in:
Theo Butler
2019-02-13 17:15:06 -05:00
parent 057595a57e
commit c555bf7218
4 changed files with 5 additions and 5 deletions

View File

@@ -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<ZeroMem zero_mem>
void notify_using(void* p, size_t size)
{

View File

@@ -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<ZeroMem zero_mem>
void notify_using(void* p, size_t size) noexcept
{

View File

@@ -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<ZeroMem zero_mem>
void notify_using(void* p, size_t size) noexcept
{

View File

@@ -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<ZeroMem zero_mem>
void notify_using(void* p, size_t size) noexcept
{
@@ -108,4 +108,4 @@ namespace snmalloc
}
};
}
#endif
#endif