lkml.org 
[lkml]   [2019]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 3/3] sgi-gru: Use __get_user_pages_fast in atomic_pte_lookup
I think the atomic_pte_lookup / non_atomic_pte_lookup helpers
should simply go away. Most of the setup code is common now and should
be in the caller where it can be shared. Then just do a:

if (atomic) {
__get_user_pages_fast()
} else {
get_user_pages_fast();
}

and we actually have an easy to understand piece of code.

\
 
 \ /
  Last update: 2019-07-24 18:10    [W:0.026 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site