traverse pgd cache

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

 



Hello at all,

I have a little problem, and I do not find anything in the web.

I have a for-loop in Kernel 2.4, which traverses the pgd_cache:

for(pgd = (pgd_t *)pgd_quicklist; pgd; pgd = (pgd_t *)*(unsigned long *)pgd)
        pgd[address >> PGDIR_SHIFT] = entry;

So far so good. But now I have to port this to kernel 2.6. The problem is, 
that pgd_quicklist doesn't exist there anymore.

Can anybody tell me, where I can traverse the cached pgds? It would be a great 
help for me.

Thx for your time,
Daniel.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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