Re: git: kernel - Report actual real memory during kernel boot

看板DFBSD_commit作者時間15年前 (2010/09/29 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
Am Dienstag, den 28.09.2010, 18:56 -0700 schrieb Matthew Dillon: > commit 1bda0d3d214f53191b6954dd77ba7589b5e23a8a > Author: Matthew Dillon <dillon@apollo.backplane.com> > Date: Tue Sep 28 18:20:01 2010 -0700 > > kernel - Report actual real memory during kernel boot > > * Calculate and report the actual real memory reported by the BIOS, > only counting memory types and ignoring other mapping types and holes. > > * Report this value instead of the highest mapped address, reducing > user confusion. e.g. on a machine with 8G of ram: > > real memory = 8858370048 (8448 MB) (before change) > avail memory = 7597334528 (7245 MB) > > real memory = 8049428480 (7676 MB) (after change) > avail memory = 7597334528 (7245 MB) > > real memory = 8452081664 (8060 MB) (after changing BIOS video 512M->128M) > avail memory = 7987879936 (7617 MB) Curious where the remaining 315 MB (8060 - 7617 - 128) of the real memory are used for? I am confused what real and avail memory really means. Avail memory is the memory available *after* the kernel took it's share? Regards, Michael
文章代碼(AID): #1CemUNen (DFBSD_commit)
文章代碼(AID): #1CemUNen (DFBSD_commit)