diff options
| author | Cyrill Gorcunov <gorcunov@openvz.org> | 2009-06-17 02:32:32 +0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 06:47:39 +0400 |
| commit | 5c87eada68fe5d29a5f67528f81b6e45124f579b (patch) | |
| tree | 11088d75bd2132fecf70e402d4334686461aba7c /include/linux/workqueue.h | |
| parent | af166777cf451f0373b952ce6766dc1c25385686 (diff) | |
| download | linux-5c87eada68fe5d29a5f67528f81b6e45124f579b.tar.xz | |
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 <gorcunov@openvz.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
