diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-16 23:49:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 09:16:59 -0800 |
commit | 0871420fad5844cb63cfcf85508c17bd9b15c08f (patch) | |
tree | 41909ff5855dead73c915af1300dc6b36d13ffe5 /fs | |
parent | 27137e5285a3388e8f86d7bc5fe0ed8b92bd4624 (diff) |
sparc64: Add tsb-ratio sysctl.
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions