Skip to content
Snippets Groups Projects
Commit fe1d0643 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Context] Do not align 'context' member to cache line

I do not see a reason to do so any more (there probably never was).
parent 2d224ac1
No related branches found
No related tags found
1 merge request!331[Context] Make context size configurable
......@@ -45,10 +45,8 @@ class ALIGN_TO_CACHE_LINE Context : Logger<LogSubsystem::C> {
func_t startAndResumeHook;
// Allign the stack to a cache line, so that it isn't shared with
// the other members of this class.
// NOLINTNEXTLINE(modernize-avoid-c-arrays)
ALIGN_TO_CACHE_LINE char context[CONTEXT_SIZE];
char context[CONTEXT_SIZE];
void printTo(std::ostream& strm, bool withPtr = true) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment