suspend_nvs_register(9)
π suspend_nvs_register(9) π
okay bestie, this page is straight outta the Kernel API Manual, and it's all about suspend_nvs_register β no cap. It's the function that registers a platform NVS memory region to save. lowkey important β¨
πΈ NAME πΈ
suspend_nvs_register β register a platform NVS memory region to save π
π¦ SYNOPSIS π¦
int suspend_nvs_register (unsigned long start , unsigned long size );
π ARGUMENTS π
startβ physical address of the region. literally where it lives in physical memory πsizeβ size of the region. how much space we're talking about π
π DESCRIPTION π
So the NVS region does not need to be page-aligned (both ends), fr fr. We arrange things so that the data from page-aligned addresses in this region will be copied into separate RAM pages. It's giving "we handle the page-alignment situation for you" energy π¦
π₯ SEE ALSO π₯
- Kernel file
./drivers/acpi/nvs.c suspend_nvs_free(9)suspend_nvs_alloc(9)suspend_nvs_save(9)suspend_nvs_restore(9)
π that's the whole page, bestie β brought to you by ./drivers/acpi in October 2026, from the Kernel API Manual. mwah! π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms