how can I get the ZONE_DMA size ??

Max Filippov jcmvbkbc at gmail.com
Tue May 13 00:09:34 EDT 2014


On Mon, May 12, 2014 at 11:14 AM, RS <tinyshrimp at 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



More information about the Kernelnewbies mailing list