Re: traversing pgd cache

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

 



Am Donnerstag, 18. November 2004 14:20 schrieben Sie:
> On Thu, 2004-11-18 at 13:22 +0100, Daniel Rohrbach wrote:
> > 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.
>
> you forgot to tell us what you needed this for... :)

Oops, your right. I try to fix a bug in a realtime extension called
RTAI/fusion. The for-loop above is a part of the RTAI patch for 2.4, and I 
have to "port" this patch to 2.6. But the structures in 2.6 (2.5) were 
changed so much, that I absolutly don't know, were to start...




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