From mboxrd@z Thu Jan 1 00:00:00 1970 From: peterz@infradead.org (Peter Zijlstra) Date: Fri, 2 Nov 2018 13:19:58 +0100 Subject: Crash report: Broken NUMA distance map causes crash on arm64 system In-Reply-To: References: <20181030092640.GE1459@hirez.programming.kicks-ass.net> <20181031204622.GB3141@hirez.programming.kicks-ass.net> <20181102105003.GK3178@hirez.programming.kicks-ass.net> Message-ID: <20181102121958.GL3178@hirez.programming.kicks-ass.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Nov 02, 2018 at 12:08:53PM +0000, John Garry wrote: > > @@ -1337,7 +1353,7 @@ void sched_init_numa(void) > > int level = 0; > > int i, j, k; > > > > - sched_domains_numa_distance = kzalloc(sizeof(int) * nr_node_ids, GFP_KERNEL); > > + sched_domains_numa_distance = kzalloc(sizeof(int) * (nr_node_ids + 1), GFP_KERNEL); > > Ahhhh, unfortuately this change in isolation is not fixing the crash for me. > I'm still crashing in the same place repeatedly. Hurm.. sadness, means my reproduces doesn't reproduce quite enough :/ I'll see if I can somehow get something better going.