Hi Michael,

On Tue, Nov 17, 2015 at 5:42 AM, Michael Schmitz <[email protected]> wrote:
> Am 16.11.2015 um 00:04 schrieb Geert Uytterhoeven:
>> If max_pfn is not initialized, the various /proc/kpage* files are empty,
>> and selftests/vm/mlock2-tests will fail. max_pfn is also used by the
>> block layer to calculate DMA masks.
>
> What about platforms where the DMA can't address all available physical
> memory?

There are many other checks, using max_low_pfn and/or zone_dma.
I'm not 100% clear on the impact of max_pfn in blk_settings_init().

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to