lkml.org 
[lkml]   [2011]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH x86/mm UPDATED] x86-64, NUMA: Fix distance table handling
    On 03/11/2011 10:29 AM, Tejun Heo wrote:
    > On Fri, Mar 11, 2011 at 10:25:23AM -0800, Yinghai Lu wrote:
    >> now even emulation have that distance array.
    >>
    >> why keep it simple to make all path have that array?
    >
    > Okay, I don't know, maybe, but I don't think it's gonna buy much. We
    > need boundary check in the distance testing function anyway in case
    > someone calls in with out-of-bound nid's and not having distance table
    > is just a degenerate case of the generic sanity check, so there really
    > isn't much to be gained by allocating dummy table.

    for out-of-bound nid access, looks like should generate BUG_ON for it ?


    \
     
     \ /
      Last update: 2011-03-11 19:49    [W:2.567 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site