HomeClusterLabs Projects
Diffusion SBD 53277efb8af6

Fix: avoid using deprecated valloc & frequent aligned alloc

Description

Fix: avoid using deprecated valloc & frequent aligned alloc

switch to using a single aligned buffer that stays allocated.

  • free to use allocation mechanism that doesn't allow to use free() to hand back (not needed for current posix_memalign)
  • avoid memory fragmentation risk (and thus risk to run out of hogged memory) due to frequent alloc/free of aligned memory

Details

Provenance
wenningerkAuthored on Sep 6 2021, 10:36 AM
Parents
rSf4ca41fc3d47: Merge pull request #133 from epenchev/delay_start_diskless
Branches
Unknown
Tags
Unknown

Event Timeline