Re: [PATCH 1/4] m68k/mm: motorola - Add missing initialization of max_pfn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

On Tue, Nov 17, 2015 at 5:42 AM, Michael Schmitz <schmitzmic@xxxxxxxxx> 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 -- geert@xxxxxxxxxxxxxx

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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux