May 13, 2014
4:09 a.m.
On Mon, May 12, 2014 at 11:14 AM, RS <tinyshrimp@163.com> wrote:
So, how can I get the ZONE_DMA real size ? Is there any kernel functions or configuration files ? I want to get the accurate number.
Take a look at the /proc/zoneinfo file in your running kernel. It will tell you where each zone starts ('start_pfn' lines) and how many pages there are ('pages spanned' lines). -- Thanks. -- Max