• David S. Miller's avatar
    sparc64: Define WANT_PAGE_VIRTUAL · b0f1e796
    David S. Miller authored
    As sparse warns, without this struct page pointer subtraction is
    extremely expensive, and this is a pretty common operation in
    fast paths.
    
    With this define struct page becomes 64 bytes which makes for a
    simple subtract and shift, instead of a costly divide or reciprocol
    multiply.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b0f1e796
page_64.h 3.72 KB