I would like to write a kernel module that uses some memory space for its own purpose.
Reserve memory space with kernel parameter
The memory space was reserved through linux kernel parameter by modifying
/etc/default/grub as below.
sudo update-grub and rebooting should follow to apply the modification.
The reserved area was from
After rebooting, you can confirm the reduced memory space with the command