Re: [PATCH -next] arm64/mm: fix a bogus GFP flag in pgd_alloc()

Mike Rapoport
2019-06-12T06:57:36Z

Hi,

On Tue, Jun 11, 2019 at 08:46:45AM -0400, Qian Cai wrote:
>
> > On Jun 11, 2019, at 8:41 AM, Mike Rapoport <rppt@linux.ibm.com> wrote:
> >
> > Sorry for the delay, I'm mostly offline these days.
> >
> > I wanted to understand first what is the reason for the failure. I've tried
> > to reproduce it with qemu, but I failed to find a bootable configuration
> > that will have PGD_SIZE != PAGE_SIZE :(
> >
> > Qian Cai, can you share what is your environment and the kernel config?
>
> https://raw.githubusercontent.com/cailca/linux-mm/master/arm64.config
>
> # lscpu
> Architecture: aarch64
> Byte Order: Little Endian
> CPU(s): 256
> On-line CPU(s) list: 0-255
> Thread(s) per core: 4
> Core(s) per socket: 32
> Socket(s): 2
> NUMA node(s): 2
> Vendor ID: Cavium
> Model: 1
> Model name: ThunderX2 99xx
> Stepping: 0x1
> BogoMIPS: 400.00
> L1d cache: 32K
> L1i cache: 32K
> L2 cache: 256K
> L3 cache: 32768K
> NUMA node0 CPU(s): 0-127
> NUMA node1 CPU(s): 128-255
> Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
>
> # dmidecode
> Handle 0x0001, DMI type 1, 27 bytes
> System Information
> Manufacturer: HPE
> Product Name: Apollo 70
> Version: X1
> Wake-up Type: Power Switch
> Family: CN99XX
>

Can you please also send the entire log when the failure happens?

Another question, is the problem exist with PGD_SIZE == PAGE_SIZE?

--
Sincerely yours,
Mike.