Re: pte_offset, pte_offset_map, pte_offset_atomic

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

 



Timur Tabi <timur.tabi@xxxxxxxxxxx> writes:

> Could someone please explain to me the various versions of pte_offset?
> Red Hat 9.0, RH EL 3, Suse 9 Pro, and SLES 8 all claim to use a 2.4
> kernel, but each one has a different version of pte_offset that I need
> to use.
>
> Since I can't trust the kernel version number, and I can't find any
> documentation on these functions, I need someone to explain them to
> me. Thanks.

pte_offset_map, if I recall correctly, can map a high-memory page
table into the kernel address space.  Later pte_unmap removes the
mapping.  pte_offset doesn't do that.

Check the macro definitions in include/asm/pgtable.h, but I don't know
what pte_offset_atomic does.

-- 
  Ed L Cashin <ecashin@xxxxxxxxxx>


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