Re: Why is get_user_pages so slow?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Micha Nelissen
Date: Thursday, August 12, 2010 - 3:08 am

Hi Kevin,

Kevin Easton wrote:

Oops sorry, thanks for catching my mistake.

I also discovered the following: if I read from all pages, then call 
get_user_pages, it is still quite slow (did I get a read-only page?). 
However, if I touch all pages by writing to them, then get_user_pages 
becomes a factor 40 times faster or so.

All is clear now, I think. Thanks.

Micha
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why is get_user_pages so slow?, Micha Nelissen, (Tue Aug 10, 12:50 pm)
Re: Why is get_user_pages so slow?, Kevin Easton, (Wed Aug 11, 8:43 pm)
Re: Why is get_user_pages so slow?, Micha Nelissen, (Thu Aug 12, 3:08 am)