https://github.com/00ryanwelzel/memorymanager
Linux kernel module that takes a PID and virtual mem addr then finds either the physical mem addr, the swap page, or indicates the page is not available.
https://github.com/00ryanwelzel/memorymanager
linux-kernel linux-kernel-module page-tables swap-memory
Last synced: 13 days ago
JSON representation
Linux kernel module that takes a PID and virtual mem addr then finds either the physical mem addr, the swap page, or indicates the page is not available.
- Host: GitHub
- URL: https://github.com/00ryanwelzel/memorymanager
- Owner: 00ryanwelzel
- Created: 2025-06-20T05:16:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-01T22:25:31.000Z (8 months ago)
- Last Synced: 2026-04-17T04:43:31.193Z (26 days ago)
- Topics: linux-kernel, linux-kernel-module, page-tables, swap-memory
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# memoryManager
## (Ryan Welzel 6/19/2025)
Linux kernel module that takes a PID and virtual mem addr then finds either the physical mem addr, the swap page, or indicates the page is not available.
---
Features:
- Locates the location from a process and its virtual address.
Requirements:
- Linux OS
- GCC compiler
- Swapfile
Enable swapfile with:
- sudo dd if=/dev/zero of=/mnt/1GiB.swap bs=1024
Note: run vm with low memory >=4GiB