diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2008-10-19 05:28:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 17:52:39 +0200 |
commit | 85dd030edb174376ef43bc95e5fae4755af1ec98 (patch) | |
tree | 60e0ca69da813ce50dacdc9fdfe9597e33ac6119 /mm/sparse-vmemmap.c | |
parent | cpuset.c: remove extra variable (diff) | |
download | linux-85dd030edb174376ef43bc95e5fae4755af1ec98.tar.xz linux-85dd030edb174376ef43bc95e5fae4755af1ec98.zip |
seq_file: don't call bitmap_scnprintf_len()
"m->count + len < m->size" is true commonly, so bitmap_scnprintf()
is commonly called. this fix saves a call to bitmap_scnprintf_len().
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Paul Menage <menage@google.com>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions