From: Alexey Dobriyan <adobriyan@gmail.com>
To: Andrei Vagin <avagin@openvz.org>
Cc: linux-fsdevel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Subject: Re: [PATCH 2/4] proc: replace seq_printf on seq_putc to speed up /proc/pid/smaps
Date: Mon, 12 Feb 2018 17:10:25 +0300 [thread overview]
Message-ID: <20180212141025.GA6623@avx2> (raw)
In-Reply-To: <20180212074931.7227-2-avagin@openvz.org>
On Sun, Feb 11, 2018 at 11:49:29PM -0800, Andrei Vagin wrote:
> if (vma->vm_flags & (1UL << i)) {
> - seq_printf(m, "%c%c ",
> - mnemonics[i][0], mnemonics[i][1]);
> + seq_putc(m, mnemonics[i][0]);
> + seq_putc(m, mnemonics[i][1]);
> + seq_putc(m, ' ');
Reviewed-by: Alexey Dobriyan <adobriyan@gmail.com>
next prev parent reply other threads:[~2018-02-12 14:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 7:49 [PATCH 1/4 v2] proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps Andrei Vagin
2018-02-12 7:49 ` [PATCH 2/4] proc: replace seq_printf on seq_putc " Andrei Vagin
2018-02-12 14:10 ` Alexey Dobriyan [this message]
2018-02-12 7:49 ` [PATCH 3/4] proc: optimize single-symbol delimiters to spead up seq_put_decimal_ull Andrei Vagin
2018-02-12 7:49 ` [PATCH 4/4] proc: replace seq_printf by seq_put_smth to speed up /proc/pid/status Andrei Vagin
-- strict thread matches above, loose matches on Subject: below --
2018-01-29 8:00 [PATCH 1/4] proc: add seq_put_decimal_ull_align to speed up /proc/pid/smaps Andrei Vagin
2018-01-29 8:00 ` [PATCH 2/4] proc: replace seq_printf on seq_putc " Andrei Vagin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180212141025.GA6623@avx2 \
--to=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=avagin@openvz.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.