title: What is the command used in Linux to know info about memory interleaving?
body: <p>I am working on the Linux Kernel as part of my course homework and this is the information I seek:</p>
  
  <p>In the latest systems, memory is split up into ranks under which which memory is interleaved among the different ranks in a non-contiguous way. This was implemented to increase the speed of processor in accessing the memory. I would like to know if there is any command in Linux which when executed gives us any information about how the memory is being split up into ranks. I have tried using the following command</p>
  
  <pre><code>    sudo dmidecode --type memory
  </code></pre>
  
  <p>but the above command showed information about hardware but not whether memory is being interleaved or not. Could anyone please let me know if there is any command that can show me such info? If such command doesn't exist, could you please let me know which part of the code I can refer for the implementation of memory interleaving in Linux Kernel?</p>
  
  <p>Thank you.</p>