futex: request only one page from get_user_pages()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jun 2009 12:27:58 +0000 (14:27 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jun 2009 12:33:46 +0000 (14:33 +0200)
Yanmin noticed that fault_in_user_writeable() requests 4 pages instead
of one.

That's the result of blindly trusting Linus' proposal :) I even looked
up the prototype to verify the correctness: the argument in question
is confusingly enough named "len" while in reality it means number of
pages.

Pointed-out-by: Yanmin Zhang <yanmin_zhang@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found