• D
    sparc64: Add tsb-ratio sysctl. · 0871420f
    David S. Miller 提交于
    Add a sysctl to tweak the RSS limit used to decide when to grow
    the TSB for an address space.
    
    In order to avoid expensive divides and multiplies only simply
    positive and negative powers of two are supported.
    
    The function computed takes the number of TSB translations that will
    fit at one time in the TSB of a given size, and either adds or
    subtracts a percentage of entries.  This final value is the
    RSS limit.
    
    See tsb_size_to_rss_limit().
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    0871420f
tsb.c 13.3 KB