<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(32,18,77)">It's possible that they're reserved for some hardware device.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 14, 2017 at 7:42 PM, Travis Waters <span dir="ltr"><<a href="mailto:Travis.Waters@sdl.usu.edu" target="_blank">Travis.Waters@sdl.usu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Linux Users!<br>
<br>
<br>
We are developing a single-board embedded system based around a SPARC architecture processor with 256 MB SRAM. When we cat /proc/meminfo our MemTotal is showing a missing 73 MB. When checking our dmesg, we have the following reported memory:<br>
<br>
Memory: 172848K/176868K available (3886K kernel code, 136K rwdata, 740K rodata, 14228K init, 152K bss, 4020K reserved, 0K cma-reserved, 0K highmem)<br>
<br>
Which in all accounts for 22 of the missing 73 MB, but what of the other 51 MB? Can that 51 MB be accounted for somewhere, or are we missing something in our memory tables somehow?<br>
<br>
<br>
We have also had to increase the VMalloc size, and in the SPARC architecture that means changing the pgtable_32.h macros to the following (SPARC isn't responding to setting the vmalloc kernel parameter):<br>
<br>
#define VMALLOC_START _AC(0xfd600000,UL)<br>
#define VMALLOC_END _AC(0xffc00000,UL)<br>
<br>
<br>
Here is the full meminfo report:<br>
<br>
<br>
MemTotal: 187076 kB<br>
MemFree: 98196 kB<br>
MemAvailable: 138116 kB<br>
Buffers: 0 kB<br>
Cached: 44248 kB<br>
SwapCached: 0 kB<br>
Active: 13164 kB<br>
Inactive: 39292 kB<br>
Active(anon): 8208 kB<br>
Inactive(anon): 0 kB<br>
Active(file): 4956 kB<br>
Inactive(file): 39292 kB<br>
Unevictable: 0 kB<br>
Mlocked: 0 kB<br>
HighTotal: 0 kB<br>
HighFree: 0 kB<br>
LowTotal: 187076 kB<br>
LowFree: 98196 kB<br>
SwapTotal: 0 kB<br>
SwapFree: 0 kB<br>
Dirty: 0 kB<br>
Writeback: 0 kB<br>
AnonPages: 8220 kB<br>
Mapped: 14800 kB<br>
Shmem: 0 kB<br>
Slab: 4736 kB<br>
SReclaimable: 964 kB<br>
SUnreclaim: 3772 kB<br>
KernelStack: 968 kB<br>
PageTables: 376 kB<br>
NFS_Unstable: 0 kB<br>
Bounce: 0 kB<br>
WritebackTmp: 0 kB<br>
CommitLimit: 93536 kB<br>
Committed_AS: 106592 kB<br>
VmallocTotal: 25600 kB<br>
VmallocUsed: 0 kB<br>
VmallocChunk: 0 kB<br>
<br>
<br>
<br>
Thanks!<br>
<br>
-Travis?<br>
<br>
<br>
______________________________<wbr>_________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/<wbr>mailman/listinfo/linux-il</a><br>
</blockquote></div><br></div>