aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2009-06-16 15:32:32 -0700
committerLinus Torvalds <[email protected]>2009-06-16 19:47:39 -0700
commit5c87eada68fe5d29a5f67528f81b6e45124f579b (patch)
tree11088d75bd2132fecf70e402d4334686461aba7c /tools/perf/scripts/python
parentaf166777cf451f0373b952ce6766dc1c25385686 (diff)
mm: setup_per_zone_inactive_ratio - do not call for int_sqrt if not needed
int_sqrt() returns 0 if its argument is zero so call it if only needed. Signed-off-by: Cyrill Gorcunov <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions