pte Not Present?

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

 



Hi,
 
I'm writing a kernel module.
 
When I try to obtain the pte of an address like 0x0005000, I get informed that pte is not present.
 
That is not possible. It's Kernel code!!
 
The c code is like:
 
pgd_t dir = pgd_offset(current->mm,addr);
pmd_t pmd = pmd_offset(dir,addr);
pte_t pte = pte_alloc_offset(pmd,addr);
What's wrong??
 
Thanks,
 
Pedro

[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