Searched hist:"0871420 fad5844cb63cfcf85508c17bd9b15c08f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/sparc/mm/ |
H A D | tsb.c | diff 0871420fad5844cb63cfcf85508c17bd9b15c08f Mon Nov 17 01:49:24 CST 2008 David S. Miller <davem@davemloft.net> 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>
|
/openbmc/linux/kernel/ |
H A D | sysctl.c | diff 0871420fad5844cb63cfcf85508c17bd9b15c08f Mon Nov 17 01:49:24 CST 2008 David S. Miller <davem@davemloft.net> 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>
|