fix doc comments for notify_using
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user