# std.heap.PageAllocator: add check for large allocation · gitcafe/zig

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

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

Visibility: public

Requested revision: 3f3003097cbf5a6ad9e0dfc29b2cafbe2e35dded

Requested commit: 3f3003097cbf5a6ad9e0dfc29b2cafbe2e35dded

Commit: 3f3003097cbf5a6ad9e0dfc29b2cafbe2e35dded

Tree: 2dfd831099a3f3b99039474d164f008243b3ae55

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.heap.PageAllocator: add check for large allocation

Instead of making the memory alignment functions more complicated, I
added more API documentation for their existing semantics.

closes #12118
closes #12135

```

## Parents

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

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