Re: [PATCH 1/4] proc: add seq_put_decimal_ull_align to speed up /proc/pid/smaps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 29, 2018 at 12:00:40AM -0800, Andrei Vagin wrote:
> seq_put_decimal_ull_align(m, str, val, width) is equivalent of
> seq_printf(m, "%s%*d", str, width, val), but it works much faster.

It is called "minimum width", not alignment.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux