lkml.org 
[lkml]   [2004]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/4]Diskdump Update
    > Ok, I fix it.
    >
    > - page = mem_map + nr;
    > + page = pfn_to_page(nr);

    That's correct now ...

    > I also need fix this.
    >
    > - for (nr = 0; nr < max_mapnr; nr++) {
    > + for (nr = 0; nr < max_pfn; nr++) {

    ... but that's not (at least AFAICS from this snippet). You need to iterate
    over pgdats, and then over the lmem_map inside each pgdat.

    M.

    -
    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: 2005-03-22 14:03    [W:0.023 / U:0.800 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site