Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
nwf-msr committed Jun 19, 2024
1 parent 4ecd11c commit 72f26b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/snmalloc/aal/aal.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace snmalloc
{
/*
* Provide a default specification of address_t as uintptr_t for Arch-es
* that support IntegerPointers. Those Arch-es without IntegerPoihnters
* that support IntegerPointers. Those Arch-es without IntegerPointers
* must explicitly give their address_t.
*
* This somewhat obtuse way of spelling the defaulting is necessary so
Expand Down
2 changes: 1 addition & 1 deletion src/snmalloc/ds/allocconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace snmalloc
#ifdef USE_REMOTE_CACHE
USE_REMOTE_CACHE
#else
1 << MIN_CHUNK_BITS
MIN_CHUNK_SIZE
#endif
;
Expand Down
2 changes: 2 additions & 0 deletions src/snmalloc/mem/corealloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,9 @@ namespace snmalloc
if (
!need_post &&
!attached_cache->remote_dealloc_cache.reserve_space(entry))
{
need_post = true;
}
attached_cache->remote_dealloc_cache
.template dealloc<sizeof(CoreAllocator)>(
entry.get_remote()->trunc_id(), p.as_void());
Expand Down
2 changes: 1 addition & 1 deletion src/snmalloc/mem/freelist.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ namespace snmalloc
* though the result is likely not safe to dereference, being an
* obfuscated bundle of bits (on non-CHERI architectures, anyway). That's
* additional motivation to consider the result BQueue-bounded, as that
* is likely (but not necessarily) Wild.
* is likely (but not necessarily) Wild.
*/
template<
SNMALLOC_CONCEPT(capptr::IsBound) BView,
Expand Down

0 comments on commit 72f26b8

Please sign in to comment.