Re: free_pte / Paging Unit code in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux