Re: [PATCH v4 6/6] alloc_tag: support for page allocation tag compression
From: Pasha Tatashin
Date: Wed Oct 23 2024 - 14:30:37 EST
On Wed, Oct 23, 2024 at 1:08 PM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
>
> Implement support for storing page allocation tag references directly
> in the page flags instead of page extensions. sysctl.vm.mem_profiling
> boot parameter it extended to provide a way for a user to request this
> mode. Enabling compression eliminates memory overhead caused by page_ext
> and results in better performance for page allocations. However this
> mode will not work if the number of available page flag bits is
> insufficient to address all kernel allocations. Such condition can
> happen during boot or when loading a module. If this condition is
> detected, memory allocation profiling gets disabled with an appropriate
> warning. By default compression mode is disabled.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
Thank you very much Suren for doing this work. This is a very
significant improvement for the fleet users.
Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>