Re: [PATCH] x86: Use online node real index incalulate_tbl_offset()

From: Shaohua Li
Date: Sat Oct 30 2010 - 23:39:08 EST


On Fri, 2010-10-29 at 10:18 +0800, Yinghai Lu wrote:
> Found one numa system that doesn't have ram installed in first socket
> hang during executing init scripts.
>
> bisect to:
>
> |commit 932967202182743c01a2eee4bdfa2c42697bc586
> |Author: Shaohua Li <shaohua.li@xxxxxxxxx>
> |Date: Wed Oct 20 11:07:03 2010 +0800
> |
> | x86: Spread tlb flush vector between nodes
>
> It turns out when first socket is not online could have cpus on node1
> tlb_offset set to bigger than NUM_INVALIDATE_TLB_VECTORS.
>
> that could affect systems like 4 sockets, but socket 2 doesn't
> have installed, sockets 3 will get too big tlb_offset.
>
> Need to use real online node idx.
>
Thanks for catching it up.

Acked-by: Shaohua Li <shaohua.li@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/