[lkml]   [2001]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux 2.4.1-ac15

    On Fri, 23 Feb 2001, Andrea Arcangeli wrote:
    > I think that can't happen. Infact I think the whole section:
    > pmd = pmd_offset(pgd, address);
    > pmd_k = pmd_offset(pgd_k, address);
    > if (pmd_present(*pmd) || !pmd_present(*pmd_k))
    > goto bad_area_nosemaphore;
    > set_pmd(pmd, *pmd_k);
    > return;
    > is superflows.

    No. Think about the differences in PAE and non-PAE mode.

    > The middle pagetable is shared and the pmd_t entry is set by vmalloc itself (it
    > just points to the as well shared pte), it's only the pgd that is setup lazily

    In non-PAE mode, the pgd entry doesn't exist. pgd_present() returns a
    unconditional 1. Its' the pmd functions that kick in then.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:17    [W:0.020 / U:15.456 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site