Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

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

 



Hi Michal,

WIth this patch applied on the old one, I got the following message.
Please get it from attachment.

Thanks,
Pingfan

On Mon, Dec 17, 2018 at 9:29 PM Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>
> On Thu 13-12-18 17:04:01, Pingfan Liu wrote:
> [...]
> > > > @@ -592,6 +600,10 @@ static int __init numa_register_memblks(struct numa_meminfo *mi)
> > > >                         continue;
> > > >
> > > >                 alloc_node_data(nid);
> > > > +               if (!end)
> > > > +                       init_memory_less_node(nid);
> >
> > Just have some opinion on this. Here is two issue. First, is this node
> > online?
>
>
> It shouldn't be as it doesn't have any memory.
>
> > I do not see node_set_online() is called in this patch.
>
> It is below for nodes with some memory.
>
> > Second, if node is online here, then  init_memory_less_node->
> > free_area_init_node is called duplicated when free_area_init_nodes().
> > This should be a critical design issue.
>
> I am still trying to wrap my head around the expected code flow here.
> numa_init does the following for all CPUs within nr_cpu_ids (aka nr_cpus
> aware).
>                 if (!node_online(nid))
>                         numa_clear_node(i);
>
> I do not really understand why do we do this. But this enforces
> init_cpu_to_node to do init_memory_less_node (with the current upstream
> code) and that will mark the node online again and zonelists are built
> properly. My patch couldn't help in that respect because the node is
> offline (as it should be IMHO).
>
> So let's try another attempt with some larger surgery (on top of the
> previous patch). It will also dump the zonelist after it is built for
> each node. Let's see whether something more is lurking there.
>
> diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c
> index a5548fe668fb..eb7c905d5d86 100644
> --- a/arch/x86/mm/numa.c
> +++ b/arch/x86/mm/numa.c
> @@ -525,19 +525,6 @@ static void __init numa_clear_kernel_node_hotplug(void)
>         }
>  }
>
> -static void __init init_memory_less_node(int nid)
> -{
> -       unsigned long zones_size[MAX_NR_ZONES] = {0};
> -       unsigned long zholes_size[MAX_NR_ZONES] = {0};
> -
> -       free_area_init_node(nid, zones_size, 0, zholes_size);
> -
> -       /*
> -        * All zonelists will be built later in start_kernel() after per cpu
> -        * areas are initialized.
> -        */
> -}
> -
>  static int __init numa_register_memblks(struct numa_meminfo *mi)
>  {
>         unsigned long uninitialized_var(pfn_align);
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index 5411de93a363..99252a0b6551 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2045,6 +2045,8 @@ extern void __init pagecache_init(void);
>  extern void free_area_init(unsigned long * zones_size);
>  extern void __init free_area_init_node(int nid, unsigned long * zones_size,
>                 unsigned long zone_start_pfn, unsigned long *zholes_size);
> +extern void init_memory_less_node(int nid);
> +
>  extern void free_initmem(void);
>
>  /*
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 2ec9cc407216..a5c035fd6307 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -5234,6 +5234,8 @@ static void build_zonelists(pg_data_t *pgdat)
>         int node, load, nr_nodes = 0;
>         nodemask_t used_mask;
>         int local_node, prev_node;
> +       struct zone *zone;
> +       struct zoneref *z;
>
>         /* NUMA-aware ordering of nodes */
>         local_node = pgdat->node_id;
> @@ -5259,6 +5261,11 @@ static void build_zonelists(pg_data_t *pgdat)
>
>         build_zonelists_in_node_order(pgdat, node_order, nr_nodes);
>         build_thisnode_zonelists(pgdat);
> +
> +       pr_info("node[%d] zonelist: ", pgdat->node_id);
> +       for_each_zone_zonelist(zone, z, &pgdat->node_zonelists[ZONELIST_FALLBACK], MAX_NR_ZONES-1)
> +               pr_cont("%d:%s ", zone_to_nid(zone), zone->name);
> +       pr_cont("\n");
>  }
>
>  #ifdef CONFIG_HAVE_MEMORYLESS_NODES
> @@ -5447,6 +5454,20 @@ void __ref build_all_zonelists(pg_data_t *pgdat)
>  #endif
>  }
>
> +void __init init_memory_less_node(int nid)
> +{
> +       unsigned long zones_size[MAX_NR_ZONES] = {0};
> +       unsigned long zholes_size[MAX_NR_ZONES] = {0};
> +
> +       free_area_init_node(nid, zones_size, 0, zholes_size);
> +       __build_all_zonelists(NODE_DATA(nid));
> +
> +       /*
> +        * All zonelists will be built later in start_kernel() after per cpu
> +        * areas are initialized.
> +        */
> +}
> +
>  /* If zone is ZONE_MOVABLE but memory is mirrored, it is an overlapped init */
>  static bool __meminit
>  overlap_memmap_init(unsigned long zone, unsigned long *pfn)
> --
> Michal Hocko
> SUSE Labs
[    0.000000] Linux version 4.20.0-rc7+
[    0.000000] Command line: root=/dev/mapper/xx_dell--per7425--03-root ro crashkernel=500M rd.lvm.lv=xx_dell-per7425-03/root rd.lvm.lv=xx_dell-per7425-03/swap console=ttyS0,115200n81 earlyprintk=ttyS0,115200n81
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000100-0x000000000008efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000005c3d6fff] usable
[    0.000000] BIOS-e820: [mem 0x000000005c3d7000-0x00000000643defff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000643df000-0x0000000068ff7fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000068ff8000-0x000000006b4f7fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000006b4f8000-0x000000006c327fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000006c328000-0x000000006c527fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000006c528000-0x000000006fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000070000000-0x000000008fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000087effffff] usable
[    0.000000] BIOS-e820: [mem 0x000000087f000000-0x000000087fffffff] reserved
[    0.000000] printk: bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] extended physical RAM map:
[    0.000000] reserve setup_data: [mem 0x0000000000000100-0x000000000008efff] usable
[    0.000000] reserve setup_data: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x0000000000090000-0x000000000009ffff] usable
[    0.000000] reserve setup_data: [mem 0x0000000000100000-0x000000000010006f] usable
[    0.000000] reserve setup_data: [mem 0x0000000000100070-0x000000005c3d6fff] usable
[    0.000000] reserve setup_data: [mem 0x000000005c3d7000-0x00000000643defff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000643df000-0x0000000068ff7fff] usable
[    0.000000] reserve setup_data: [mem 0x0000000068ff8000-0x000000006b4f7fff] reserved
[    0.000000] reserve setup_data: [mem 0x000000006b4f8000-0x000000006c327fff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x000000006c328000-0x000000006c527fff] ACPI data
[    0.000000] reserve setup_data: [mem 0x000000006c528000-0x000000006fffffff] usable
[    0.000000] reserve setup_data: [mem 0x0000000070000000-0x000000008fffffff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000087effffff] usable
[    0.000000] reserve setup_data: [mem 0x000000087f000000-0x000000087fffffff] reserved
[    0.000000] efi: EFI v2.50 by Dell Inc.
[    0.000000] efi:  ACPI=0x6c527000  ACPI 2.0=0x6c527014  SMBIOS=0x6afde000  SMBIOS 3.0=0x6afdc000 
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2095.973 MHz processor
[    0.000066] last_pfn = 0x87f000 max_arch_pfn = 0x400000000
[    0.006389] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Memory KASLR using RDRAND RDTSC...
[    0.016603] last_pfn = 0x70000 max_arch_pfn = 0x400000000
[    0.027381] Using GB pages for direct mapping
[    0.031993] Secure boot could not be determined
[    0.036341] RAMDISK: [mem 0x87a171000-0x87cdfffff]
[    0.041121] ACPI: Early table checksum verification disabled
[    0.046749] ACPI: RSDP 0x000000006C527014 000024 (v02 DELL  )
[    0.052463] ACPI: XSDT 0x000000006C5260E8 0000C4 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.060961] ACPI: FACP 0x000000006C516000 000114 (v06 DELL   PE_SC3   00000002 DELL 00000001)
[    0.069455] ACPI: DSDT 0x000000006C505000 00D302 (v02 DELL   PE_SC3   00000002 DELL 00000001)
[    0.077944] ACPI: FACS 0x000000006C2F1000 000040
[    0.082539] ACPI: SSDT 0x000000006C525000 0000D2 (v02 DELL   PE_SC3   00000002 MSFT 04000000)
[    0.091031] ACPI: BERT 0x000000006C524000 000030 (v01 DELL   BERT     00000001 DELL 00000001)
[    0.099525] ACPI: HEST 0x000000006C523000 0006DC (v01 DELL   HEST     00000001 DELL 00000001)
[    0.108019] ACPI: SSDT 0x000000006C522000 0001C4 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.116511] ACPI: SRAT 0x000000006C521000 0002D0 (v03 DELL   PE_SC3   00000001 AMD  00000001)
[    0.125005] ACPI: MSCT 0x000000006C520000 0000A6 (v01 DELL   PE_SC3   00000000 AMD  00000001)
[    0.133500] ACPI: SLIT 0x000000006C51F000 00006C (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.141994] ACPI: CRAT 0x000000006C51C000 002210 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.150486] ACPI: CDIT 0x000000006C51B000 000068 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.158980] ACPI: SSDT 0x000000006C51A000 0003C6 (v02 DELL   Tpm2Tabl 00001000 INTL 20170119)
[    0.167474] ACPI: TPM2 0x000000006C519000 000038 (v04 DELL   PE_SC3   00000002 DELL 00000001)
[    0.175969] ACPI: EINJ 0x000000006C518000 000150 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.184461] ACPI: SLIC 0x000000006C517000 000024 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.192955] ACPI: HPET 0x000000006C515000 000038 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.201449] ACPI: APIC 0x000000006C514000 0004B2 (v03 DELL   PE_SC3   00000002 DELL 00000001)
[    0.209943] ACPI: MCFG 0x000000006C513000 00003C (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.218435] ACPI: SSDT 0x000000006C504000 0005CA (v02 DELL   xhc_port 00000001 INTL 20170119)
[    0.226929] ACPI: IVRS 0x000000006C503000 000390 (v02 DELL   PE_SC3   00000001 AMD  00000000)
[    0.235424] ACPI: SSDT 0x000000006C501000 001658 (v01 AMD    CPMCMN   00000001 INTL 20170119)
[    0.243977] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.248338] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.252756] SRAT: PXM 0 -> APIC 0x08 -> Node 0
[    0.257177] SRAT: PXM 0 -> APIC 0x09 -> Node 0
[    0.261598] SRAT: PXM 1 -> APIC 0x10 -> Node 1
[    0.266018] SRAT: PXM 1 -> APIC 0x11 -> Node 1
[    0.270437] SRAT: PXM 1 -> APIC 0x18 -> Node 1
[    0.274857] SRAT: PXM 1 -> APIC 0x19 -> Node 1
[    0.279278] SRAT: PXM 2 -> APIC 0x20 -> Node 2
[    0.283699] SRAT: PXM 2 -> APIC 0x21 -> Node 2
[    0.288117] SRAT: PXM 2 -> APIC 0x28 -> Node 2
[    0.292538] SRAT: PXM 2 -> APIC 0x29 -> Node 2
[    0.296959] SRAT: PXM 3 -> APIC 0x30 -> Node 3
[    0.301380] SRAT: PXM 3 -> APIC 0x31 -> Node 3
[    0.305801] SRAT: PXM 3 -> APIC 0x38 -> Node 3
[    0.310219] SRAT: PXM 3 -> APIC 0x39 -> Node 3
[    0.314640] SRAT: PXM 4 -> APIC 0x40 -> Node 4
[    0.319060] SRAT: PXM 4 -> APIC 0x41 -> Node 4
[    0.323481] SRAT: PXM 4 -> APIC 0x48 -> Node 4
[    0.327899] SRAT: PXM 4 -> APIC 0x49 -> Node 4
[    0.332320] SRAT: PXM 5 -> APIC 0x50 -> Node 5
[    0.336741] SRAT: PXM 5 -> APIC 0x51 -> Node 5
[    0.341162] SRAT: PXM 5 -> APIC 0x58 -> Node 5
[    0.345580] SRAT: PXM 5 -> APIC 0x59 -> Node 5
[    0.350001] SRAT: PXM 6 -> APIC 0x60 -> Node 6
[    0.354422] SRAT: PXM 6 -> APIC 0x61 -> Node 6
[    0.358843] SRAT: PXM 6 -> APIC 0x68 -> Node 6
[    0.363261] SRAT: PXM 6 -> APIC 0x69 -> Node 6
[    0.367682] SRAT: PXM 7 -> APIC 0x70 -> Node 7
[    0.372103] SRAT: PXM 7 -> APIC 0x71 -> Node 7
[    0.376521] SRAT: PXM 7 -> APIC 0x78 -> Node 7
[    0.380942] SRAT: PXM 7 -> APIC 0x79 -> Node 7
[    0.385365] ACPI: SRAT: Node 1 PXM 1 [mem 0x00000000-0x0009ffff]
[    0.391344] ACPI: SRAT: Node 1 PXM 1 [mem 0x00100000-0x7fffffff]
[    0.397323] ACPI: SRAT: Node 1 PXM 1 [mem 0x100000000-0x47fffffff]
[    0.403476] ACPI: SRAT: Node 5 PXM 5 [mem 0x480000000-0x87fffffff]
[    0.409637] NUMA: Node 1 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0x7fffffff] -> [mem 0x00000000-0x7fffffff]
[    0.419858] NUMA: Node 1 [mem 0x00000000-0x7fffffff] + [mem 0x100000000-0x47fffffff] -> [mem 0x00000000-0x47fffffff]
[    0.430356] NODE_DATA(0) allocated [mem 0x87efd4000-0x87effefff]
[    0.436325]     NODE_DATA(0) on node 5
[    0.440092] Initmem setup node 0 [mem 0x0000000000000000-0x0000000000000000]
[    0.447078] node[0] zonelist: 
[    0.450106] NODE_DATA(1) allocated [mem 0x47ffd5000-0x47fffffff]
[    0.456114] NODE_DATA(2) allocated [mem 0x87efa9000-0x87efd3fff]
[    0.462064]     NODE_DATA(2) on node 5
[    0.465852] Initmem setup node 2 [mem 0x0000000000000000-0x0000000000000000]
[    0.472813] node[2] zonelist: 
[    0.475846] NODE_DATA(3) allocated [mem 0x87ef7e000-0x87efa8fff]
[    0.481827]     NODE_DATA(3) on node 5
[    0.485590] Initmem setup node 3 [mem 0x0000000000000000-0x0000000000000000]
[    0.492575] node[3] zonelist: 
[    0.495608] NODE_DATA(4) allocated [mem 0x87ef53000-0x87ef7dfff]
[    0.501587]     NODE_DATA(4) on node 5
[    0.505349] Initmem setup node 4 [mem 0x0000000000000000-0x0000000000000000]
[    0.512334] node[4] zonelist: 
[    0.515370] NODE_DATA(5) allocated [mem 0x87ef28000-0x87ef52fff]
[    0.521384] NODE_DATA(6) allocated [mem 0x87eefd000-0x87ef27fff]
[    0.527329]     NODE_DATA(6) on node 5
[    0.531091] Initmem setup node 6 [mem 0x0000000000000000-0x0000000000000000]
[    0.538076] node[6] zonelist: 
[    0.541109] NODE_DATA(7) allocated [mem 0x87eed2000-0x87eefcfff]
[    0.547090]     NODE_DATA(7) on node 5
[    0.550851] Initmem setup node 7 [mem 0x0000000000000000-0x0000000000000000]
[    0.557836] node[7] zonelist: 
[    0.561005] Reserving 500MB of memory at 384MB for crashkernel (System RAM: 32314MB)
[    0.568633] Zone ranges:
[    0.571098]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.577250]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.583403]   Normal   [mem 0x0000000100000000-0x000000087effffff]
[    0.589557]   Device   empty
[    0.592418] Movable zone start for each node
[    0.596666] Early memory node ranges
[    0.600217]   node   1: [mem 0x0000000000001000-0x000000000008efff]
[    0.606459]   node   1: [mem 0x0000000000090000-0x000000000009ffff]
[    0.612698]   node   1: [mem 0x0000000000100000-0x000000005c3d6fff]
[    0.618940]   node   1: [mem 0x00000000643df000-0x0000000068ff7fff]
[    0.625179]   node   1: [mem 0x000000006c528000-0x000000006fffffff]
[    0.631419]   node   1: [mem 0x0000000100000000-0x000000047fffffff]
[    0.637660]   node   5: [mem 0x0000000480000000-0x000000087effffff]
[    0.644645] Zeroed struct page in unavailable ranges: 46490 pages
[    0.644646] Initmem setup node 1 [mem 0x0000000000001000-0x000000047fffffff]
[    0.672700] Initmem setup node 5 [mem 0x0000000480000000-0x000000087effffff]
[    0.681057] ACPI: PM-Timer IO Port: 0x408
[    0.684905] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.690808] IOAPIC[0]: apic_id 128, version 33, address 0xfec00000, GSI 0-23
[    0.697804] IOAPIC[1]: apic_id 129, version 33, address 0xfd880000, GSI 24-55
[    0.704913] IOAPIC[2]: apic_id 130, version 33, address 0xea900000, GSI 56-87
[    0.712019] IOAPIC[3]: apic_id 131, version 33, address 0xdd900000, GSI 88-119
[    0.719211] IOAPIC[4]: apic_id 132, version 33, address 0xd0900000, GSI 120-151
[    0.726493] IOAPIC[5]: apic_id 133, version 33, address 0xc3900000, GSI 152-183
[    0.733775] IOAPIC[6]: apic_id 134, version 33, address 0xb6900000, GSI 184-215
[    0.741053] IOAPIC[7]: apic_id 135, version 33, address 0xa9900000, GSI 216-247
[    0.748335] IOAPIC[8]: apic_id 136, version 33, address 0x9c900000, GSI 248-279
[    0.755611] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.761938] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.768442] Using ACPI (MADT) for SMP configuration information
[    0.774331] ACPI: HPET id: 0x10228201 base: 0xfed00000
[    0.779454] smpboot: Allowing 128 CPUs, 96 hotplug CPUs
[    0.784670] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.791059] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff]
[    0.797471] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.803884] PM: Registered nosave memory: [mem 0x00100000-0x00100fff]
[    0.810299] PM: Registered nosave memory: [mem 0x5c3d7000-0x643defff]
[    0.816714] PM: Registered nosave memory: [mem 0x68ff8000-0x6b4f7fff]
[    0.823125] PM: Registered nosave memory: [mem 0x6b4f8000-0x6c327fff]
[    0.829538] PM: Registered nosave memory: [mem 0x6c328000-0x6c527fff]
[    0.835953] PM: Registered nosave memory: [mem 0x70000000-0x8fffffff]
[    0.842366] PM: Registered nosave memory: [mem 0x90000000-0xfec0ffff]
[    0.848780] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
[    0.855194] PM: Registered nosave memory: [mem 0xfec11000-0xfed7ffff]
[    0.861608] PM: Registered nosave memory: [mem 0xfed80000-0xfed80fff]
[    0.868021] PM: Registered nosave memory: [mem 0xfed81000-0xffffffff]
[    0.874437] [mem 0x90000000-0xfec0ffff] available for PCI devices
[    0.880504] Booting paravirtualized kernel on bare hardware
[    0.886053] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    1.004227] random: get_random_bytes called from start_kernel+0x9b/0x52e with crng_init=0
[    1.012234] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:128 nr_cpu_ids:128 nr_node_ids:8
[    1.020744] setup_percpu: cpu 0 has no node 0 or node-local memory
[    1.027245] setup_percpu: cpu 1 has no node 4 or node-local memory
[    1.039287] setup_percpu: cpu 4 has no node 2 or node-local memory
[    1.045667] setup_percpu: cpu 5 has no node 6 or node-local memory
[    1.052041] setup_percpu: cpu 6 has no node 3 or node-local memory
[    1.058421] setup_percpu: cpu 7 has no node 7 or node-local memory
[    1.067658] percpu: Embedded 46 pages/cpu @(____ptrval____) s151552 r8192 d28672 u262144
[    1.075692] node[1] zonelist: 1:Normal 1:DMA32 1:DMA 5:Normal 
[    1.081376] node[5] zonelist: 5:Normal 1:Normal 1:DMA32 1:DMA 
[    1.087206] Built 2 zonelists, mobility grouping off.  Total pages: 0
[    1.093597] Policy zone: Normal
[    1.096722] Kernel command line: root=/dev/mapper/xx_dell--per7425--03-root ro crashkernel=500M rd.lvm.lv=xx_dell-per7425-03/root rd.lvm.lv=xx_dell-per7425-03/swap console=ttyS0,115200n81 earlyprintk=ttyS0,115200n81
[    1.140827] Memory: 1333560K/33089944K available (12292K kernel code, 2066K rwdata, 3756K rodata, 2352K init, 6524K bss, 1202452K reserved, 0K cma-reserved)
[    1.154706] swapper: page allocation failure: order:0, mode:0x4000(__GFP_COMP), nodemask=(null)
[    1.163300] swapper cpuset=(null) mems_allowed=0-1023
[    1.168327] CPU: 0 PID: 0 Comm: swapper Not tainted 4.20.0-rc7+ #16
[    1.174564] Hardware name: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018
[    1.182107] Call Trace:
[    1.184550]  dump_stack+0x5c/0x7b
[    1.187832]  warn_alloc+0xf5/0x180
[    1.191212]  ? __raw_callee_save___native_queued_spin_unlock+0x11/0x1e
[    1.197708]  __alloc_pages_slowpath+0x84f/0xa0d
[    1.202218]  ? pcpu_block_refresh_hint+0x77/0xa0
[    1.206807]  __alloc_pages_nodemask+0x299/0x2e0
[    1.211319]  new_slab+0x425/0x570
[    1.214608]  ___slab_alloc+0x375/0x540
[    1.218339]  ? bootstrap+0x1b/0xcb
[    1.221713]  ? __kmem_cache_create+0x2b/0x150
[    1.226050]  ? printk+0x58/0x6f
[    1.229166]  ? bootstrap+0x1b/0xcb
[    1.232548]  __slab_alloc+0x1c/0x38
[    1.236014]  kmem_cache_alloc+0x192/0x1c0
[    1.240001]  bootstrap+0x1b/0xcb
[    1.243213]  kmem_cache_init+0x8d/0x109
[    1.247026]  start_kernel+0x26c/0x52e
[    1.250662]  ? set_init_arg+0x55/0x55
[    1.254306]  secondary_startup_64+0xa4/0xb0
[    1.258464] Mem-Info:
[    1.260719] active_anon:0 inactive_anon:0 isolated_anon:0
[    1.260719]  active_file:0 inactive_file:0 isolated_file:0
[    1.260719]  unevictable:0 dirty:0 writeback:0 unstable:0
[    1.260719]  slab_reclaimable:0 slab_unreclaimable:2
[    1.260719]  mapped:0 shmem:0 pagetables:0 bounce:0
[    1.260719]  free:333388 free_pcp:0 free_cma:0
[    1.291140] Node 1 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[    1.316533] Node 5 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[    1.341925] Node 1 DMA free:15896kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15896kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.367319] lowmem_reserve[]: 0 0 0 0 0
[    1.371132] Node 1 DMA32 free:1055520kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1633056kB managed:1055520kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.397221] lowmem_reserve[]: 0 0 0 0 0
[    1.401033] Node 1 Normal free:131068kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:14680064kB managed:131072kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.427122] lowmem_reserve[]: 0 0 0 0 0
[    1.430934] Node 5 Normal free:131068kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:16760832kB managed:131072kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.457023] lowmem_reserve[]: 0 0 0 0 0
[    1.460837] Node 1 DMA: 2*4kB (U) 2*8kB (U) 2*16kB (U) 3*32kB (U) 2*64kB (U) 2*128kB (U) 2*256kB (U) 1*512kB (U) 0*1024kB 1*2048kB (M) 3*4096kB (M) = 15896kB
[    1.474876] Node 1 DMA32: 2*4kB (M) 1*8kB (M) 1*16kB (M) 2*32kB (M) 3*64kB (M) 2*128kB (M) 3*256kB (M) 3*512kB (M) 2*1024kB (M) 3*2048kB (M) 255*4096kB (M) = 1055520kB
[    1.489784] Node 1 Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 1*512kB (U) 1*1024kB (U) 1*2048kB (U) 31*4096kB (M) = 131068kB
[    1.504603] Node 5 Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 1*512kB (U) 1*1024kB (U) 1*2048kB (U) 31*4096kB (M) = 131068kB
[    1.519425] 0 total pagecache pages
[    1.522894] 0 pages in swap cache
[    1.526185] Swap cache stats: add 0, delete 0, find 0/0
[    1.531385] Free swap  = 0kB
[    1.534245] Total swap = 0kB
[    1.537106] 8272486 pages RAM
[    1.540052] 0 pages HighMem/MovableOnly
[    1.543866] 7939096 pages reserved
[    1.547247] 0 pages cma reserved
[    1.550454] 0 pages hwpoisoned
[    1.553489] SLUB: Unable to allocate memory on node -1, gfp=0x408000(GFP_NOWAIT|__GFP_ZERO)
[    1.561808]   cache: kmem_cache, object size: 392, buffer size: 448, default order: 2, min order: 0
[    1.570822]   node 1: slabs: 0, objs: 0, free: 0
[    1.575415]   node 5: slabs: 0, objs: 0, free: 0
[    1.580023] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[    1.587810] PGD 0 P4D 0 
[    1.590323] Oops: 0002 [#1] SMP NOPTI
[    1.593962] CPU: 0 PID: 0 Comm: swapper Not tainted 4.20.0-rc7+ #16
[    1.600202] Hardware name: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018
[    1.607744] RIP: 0010:bootstrap+0x2e/0xcb
[    1.611731] Code: ff 55 48 89 fd 48 8b 3d 59 c0 42 00 be 00 80 40 00 53 e8 de c8 aa fe 48 89 c3 48 8b 05 44 c0 42 00 48 89 ee 48 89 df 8b 48 1c <f3> a4 65 8b 35 22 b8 65 5d 48 89 df e8 7a d7 aa fe 44 8b 05 0b 6b
[    1.630452] RSP: 0000:ffffffffa2403ed0 EFLAGS: 00010046
[    1.635652] RAX: ffffffffa2ae6600 RBX: 0000000000000000 RCX: 0000000000000188
[    1.642756] RDX: 00000000000001c0 RSI: ffffffffa2ae6600 RDI: 0000000000000000
[    1.649866] RBP: ffffffffa2ae6600 R08: 0000000030203a65 R09: 000000000000014f
[    1.656972] R10: 736a626f202c3020 R11: 657266202c30203a R12: ffffffffa2a2e900
[    1.664079] R13: ffffffffa2a492c0 R14: 0000000000000000 R15: 0000000000000000
[    1.671187] FS:  0000000000000000(0000) GS:ffff8e4029c00000(0000) knlGS:0000000000000000
[    1.679245] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.684966] CR2: 0000000000000000 CR3: 000000087e00a000 CR4: 00000000000406b0
[    1.692074] Call Trace:
[    1.694500]  kmem_cache_init+0x8d/0x109
[    1.698313]  start_kernel+0x26c/0x52e
[    1.701954]  ? set_init_arg+0x55/0x55
[    1.705594]  secondary_startup_64+0xa4/0xb0
[    1.709756] Modules linked in:
[    1.712787] CR2: 0000000000000000
[    1.716122] ---[ end trace 379bf944903e3d0a ]---
[    1.720674] RIP: 0010:bootstrap+0x2e/0xcb
[    1.724661] Code: ff 55 48 89 fd 48 8b 3d 59 c0 42 00 be 00 80 40 00 53 e8 de c8 aa fe 48 89 c3 48 8b 05 44 c0 42 00 48 89 ee 48 89 df 8b 48 1c <f3> a4 65 8b 35 22 b8 65 5d 48 89 df e8 7a d7 aa fe 44 8b 05 0b 6b
[    1.743381] RSP: 0000:ffffffffa2403ed0 EFLAGS: 00010046
[    1.748581] RAX: ffffffffa2ae6600 RBX: 0000000000000000 RCX: 0000000000000188
[    1.755688] RDX: 00000000000001c0 RSI: ffffffffa2ae6600 RDI: 0000000000000000
[    1.762794] RBP: ffffffffa2ae6600 R08: 0000000030203a65 R09: 000000000000014f
[    1.769904] R10: 736a626f202c3020 R11: 657266202c30203a R12: ffffffffa2a2e900
[    1.777010] R13: ffffffffa2a492c0 R14: 0000000000000000 R15: 0000000000000000
[    1.784118] FS:  0000000000000000(0000) GS:ffff8e4029c00000(0000) knlGS:0000000000000000
[    1.792178] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.797896] CR2: 0000000000000000 CR3: 000000087e00a000 CR4: 00000000000406b0
[    1.805006] Kernel panic - not syncing: Fatal exception
[    1.810277] ---[ end Kernel panic - not syncing: Fatal exception ]---

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux