Quote:
Originally Posted by knc1
1) You can't disable "support for swap" in the kernel build, at least not in the most recent kernel versions that I have seen Amazon using (which would be prior to 5.6.5).
|
Interestingly I found
CONFIG_SWAP option in
/proc/config.gz and it's set to
y, so swap is technically enabled in the YifanLu's 2.6.22 kernel which is on 2/DX with 3.x FW. So, swap is compiled-in, however memory is set firm to 128 MB in
config:
Code:
CONFIG_CMDLINE="console=ttymxc0,115200 mem=128M ro ip=none root=/dev/mmcblk0p1 lpj=2654208 panic=10 quiet"
The same is in
dmesg:
Code:
Kernel command line: console=ttymxc0,115200 mem=128M ro ip=none root=/dev/mmcblk0p1 lpj=2654208 panic=10 quiet
According to
http://archive.oreilly.com/pub/a/lin...eference.html:
Quote:
Name
mem — Force memory usage.
Synopsis
mem= n[KMG]
Set the specific ammount of memory used by the kernel. [...] n specifies the amount of memory to force [...].
|
Having swap on DX is getting even more complicated, it seems.