# GeneralPurposeAllocator: minimal fix · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4913de3c88d61637490bb450690d769b324508b5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4913de3c88d61637490bb450690d769b324508b5

Requested commit: 4913de3c88d61637490bb450690d769b324508b5

Commit: 4913de3c88d61637490bb450690d769b324508b5

Tree: 9651e9f565b05db0bfe72ba12e7e5bff8f0060fd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
GeneralPurposeAllocator: minimal fix

This keeps the implementation matching master branch, however,
introduces a compile error that applications can work around by
explicitly setting page_size_max and page_size_min to match their
computer's settings, in the case that those values are not already
equal.

I plan to rework this allocator in a follow-up enhancement with the goal
of reducing total active memory mappings.

```

## Parents

- [95a0474dc6bf26a7a86bea4c93e06b3ae0cd37cc](https://git.cafe/gitcafe/zig/commit/95a0474dc6bf26a7a86bea4c93e06b3ae0cd37cc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4913de3c88d61637490bb450690d769b324508b5?format=markdown)
