Bugzilla – Attachment #66026: Poison invalid cpus for bug #145459
size = PERCPU_ENOUGH_ROOM;
#endif
/*
* Poison invalid cpus, with lots of high bits set this should
* always fault
*/
for (i = 0; i < NR_CPUS; i++) {
paca[i].data_offset = 0xeeeeeeeeeeeeeeeeULL;
}
for_each_cpu(i) {
ptr = alloc_bootmem_node(NODE_DATA(cpu_to_node(i)), size);
if (!ptr)