diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-10-05 16:43:41 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-10-05 16:43:41 +0200 |
| commit | 91190d585d9e385b3ccce29b47d038d750a1c52c (patch) | |
| tree | 4d22ce8830056d44fb98b361a1f67bf757264a1c /kapi | |
| parent | 8bec65ba723c9c628d934ec02021d5ce09c01105 (diff) | |
| parent | 6c864832f111c085d28cd30ae96039670ef44c59 (diff) | |
| download | kernel-develop.tar.xz kernel-develop.zip | |
kstd: implement fixed-size ring_buffer
This patchset introduces a (non-standard) container to the kernel standard
library. The new container, `kstd::ring_buffer<T, N>`, is a fixed-size ring
buffer, with an LRU overwrite policy. This means, that the size of the buffer
is defined at compile-time. When a buffer is full, pushing further elements
into it will replace existing ones in a Least Recently Used manner.
The first target application of this new container is an extension to the
existing logging system, providing a kernel log buffer.
See merge request teachos/kernel!62
Diffstat (limited to 'kapi')
0 files changed, 0 insertions, 0 deletions
