| commit | e88afd2c37017b7f8fefdd9b0a086cd11c1bba71 | [log] [tgz] |
|---|---|---|
| author | Daniel Leung <daniel.leung@intel.com> | Thu Jul 15 13:15:29 2021 -0700 |
| committer | Christopher Friedt <chrisfriedt@gmail.com> | Thu Aug 26 21:16:22 2021 -0400 |
| tree | 3779aa64390832920825645b0f723b4f6ca342ba | |
| parent | f32ea4433c5385956c07f361d89f2fd225acc370 [diff] |
kernel: mmu: pin/unpin boot sections during boot process During boot process, the boot sections need to be pinned in memory to prevent them from being paged out (to avoid pages being paged out and immediately paged in again). Once the boot process is completed (just before calling main()), the boot sections can be unpinned so the memory can be used for demand paging for paging in data pages. Signed-off-by: Daniel Leung <daniel.leung@intel.com>