aboutsummaryrefslogtreecommitdiffstats
path: root/docs/malloc.en.subject.pdf
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-27 11:13:19 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-27 11:13:19 +0100
commitfb19b1c35f6ec52c075b214d2f0416900a7c1bbe (patch)
treedd323940d5e60253e60626c5065393ad4ec3a24d /docs/malloc.en.subject.pdf
parent8849d801b9d3767390e3e1ed6b562db738ac1bcb (diff)
downloadmalloc-fb19b1c35f6ec52c075b214d2f0416900a7c1bbe.tar.gz
malloc-fb19b1c35f6ec52c075b214d2f0416900a7c1bbe.zip
Add chunk splitting and free-chunk search, use sysconf for page size
malloc now searches zones for a free chunk, splits it to the requested aligned size, and allocates a new zone when none have space. Replace getpagesize() with sysconf(_SC_PAGESIZE).
Diffstat (limited to 'docs/malloc.en.subject.pdf')
0 files changed, 0 insertions, 0 deletions