How do you allocate memory that\'s aligned to a specific boundary in C (e.g., cache line boundary)? I\'m looking for malloc/free like implementation that ideally would be as po
What compiler are you using? If you're on MSVC, you can try _aligned_malloc() and _aligned_free().
_aligned_free()