Use /et/sysctl.conf or /etc/sysctl.d for memmap?

I need to configure off a bad memory location. Is it better to put the memmap in /etc/sysctl.conf or to create a file in /etc/sysctl.d? Does the answer change if there currently is no /etc/sysctl.conf?

As a side note, this is really a kernel question rather than a hardware question, but there doesn’t seem to be a kernel subforum. Where do kernel questions go, in general?

Hi
Create a config in /etc/sysctl.d is my suggestion and what I do…


cat /etc/sysctl.d/98-hostname.conf

net.ipv4.ip_forward=1
net.ipv6.conf.all.disable_ipv6 = 1
#Tweak swap
vm.swappiness=1
vm.vfs_cache_pressure=125