lkml.org 
[lkml]   [2006]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe : Re : sparsemem usage
    Alan Cox wrote:
    >
    > Mapping out parts of a section is quite normal - think about the 640K to
    > 1Mb hole in PC memory space.

    OK. But I'm still worry. Please consider the following code

    for (...; ...; ...) {
    [...]
    if (pfn_valid(i))
    num_physpages++;
    [...]
    }

    In that case num_physpages won't store an accurate value. Still it will be
    used by the kernel to make some statistic assumptions on other kernel
    data structure sizes.

    Francis




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

    \
     
     \ /
      Last update: 2006-08-03 11:09    [W:0.024 / U:0.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site