]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: cleanup __get_user_pages()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 22 May 2014 00:43:08 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:08 +0000 (10:43 +1000)
commit92622688070836c6e048ce78e3d3b73111c9debc
tree8dde36508f0599ae2daa24e711a09b1a3505f21e
parente525971f026db4badc4438e4eb1a14a870d4c0ff
mm: cleanup __get_user_pages()

Get rid of two nested loops over nr_pages, extract vma flags checking to
separate function and other random cleanups.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/gup.c