Hi all, I don't know why, but the mail i sent almost a week back has been resent on the mailing list although i had sent it only once. I am not sure where the problem is. So sorry for the duplicates to those who had already read it and/or responded to it. Thanx velco. (The problem was I was using an outdated source tree :-( ) Dave had also pointed out the same thing to me earlier. -mohit "vi n - tee m - exec("ute")" Momchil Velikov To: Mohit Kalra/India/IBM@IBMIN <velco@fadata. cc: kernelnewbies@nl.linux.org bg> Subject: Re: free_pte / Paging Unit code in Linux 11/26/01 01:24 PM >>>>> "Mohit" == Mohit Kalra <kmohit@in.ibm.com> writes: Mohit> In 2.4 i saw the code like Mohit> #define pte_free(pte) free_pte_slow(pte) Mohit> In 2.2 i saw the code as Mohit> #define pte_free(pte) free_pte_fast(pte) Hmm, I see something not quite the same: #define pte_free(pte) pte_free_fast(pte) #ifdef CONFIG_X86_PAE #define pgd_alloc(mm) get_pgd_slow() #define pgd_free(pgd) free_pgd_slow(pgd) #else #define pgd_alloc(mm) get_pgd_fast() #define pgd_free(pgd) free_pgd_fast(pgd) #endif This is 2.4.14, include/asm-i386/pgalloc.h and I doubt it has changed since. Where do you see free_pte_slow ? Regards, -velco -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/