diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-11-13 11:40:07 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-11-22 14:20:35 +0100 |
| commit | 60ba364ec3c458b6bcf3d048781c8dd88937cd0e (patch) | |
| tree | e1496703981b5f64d396e2b11c5c914c3124ff62 /docs/guides | |
| parent | 32a0bc18a741f5599e6447add4cd69a6e25a31be (diff) | |
| download | kernel-60ba364ec3c458b6bcf3d048781c8dd88937cd0e.tar.xz kernel-60ba364ec3c458b6bcf3d048781c8dd88937cd0e.zip | |
kapi/memory: fix page unmap logic
Previously, the page mapper was expected to automatically free all
frames that had become unused. However, this only works if all mappings
refer to plain memory frames. In the case of MMIO frames, the mapper
would still try to release the frame via the global frame allocator,
which is incorrect, leading to undefined behavior in the worst case.
This problem was discovered during work the PCI/PCIe subsystem, since
we want to unmap any unused buses during enumeration.
Diffstat (limited to 'docs/guides')
0 files changed, 0 insertions, 0 deletions
