• David S. Miller's avatar
    sparc64: Implement __get_user_pages_fast(). · 06090e8e
    David S. Miller authored
    It is not sufficient to only implement get_user_pages_fast(), you
    must also implement the atomic version __get_user_pages_fast()
    otherwise you end up using the weak symbol fallback implementation
    which simply returns zero.
    
    This is dangerous, because it causes the futex code to loop forever
    if transparent hugepages are supported (see get_futex_key()).
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    06090e8e
gup.c 5.82 KB