# Linux Kernel Module Cheat

#### 24.21.5. gem5 `SimpleMemory`

`SimpleMemory` is a highly simplified memory system. It can replace a more complex DRAM model if you use it e.g. as:

    ./run --emulator gem5 -- --mem-type SimpleMemory

and it also gets used in certain system-y memories present in ARM systems by default e.g. Flash memory:

    [system.realview.flash0]
    type=SimpleMemory

As of gem5 3ca404da175a66e0b958165ad75eb5f54cb5e772 LKMC 059a7ef9d9c378a6d1d327ae97d90b78183680b2 it did not provide any speedup to the Linux kernel boot according to a quick test.