• David S. Miller's avatar
    [SPARC64]: Optimized TSB table initialization. · bb8646d8
    David S. Miller authored
    We only need to write an invalid tag every 16 bytes,
    so taking advantage of this can save many instructions
    compared to the simple memset() call we make now.
    
    A prefetching implementation is implemented for sun4u
    and a block-init store version if implemented for Niagara.
    
    The next trick is to be able to perform an init and
    a copy_tsb() in parallel when growing a TSB table.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    bb8646d8
mmu.h 3.2 KB