Re: get_user_pages() still broken in 2.6

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

 



On Wed, Sep 29, 2004 at 09:48:09AM -0500, Timur Tabi wrote:
> Christoph Hellwig wrote:
> 
> > get_user_pages locks the page in memory.  It doesn't do anything about ptes.
> 
> I don't understand the difference.  I thought a locked page is one that 
> stays in memory (i.e. isn't swapped out) and whose physical address 
> never changes.  Is that wrong?

Yes.  But if you're walking ptes you're looking at virtual addresses
somehow.  Can you send me a pointer to your code please?  I suspect
it's doing something terribly stupid.


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