lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120120094238.GA16009@shutemov.name>
Date:	Fri, 20 Jan 2012 11:42:38 +0200
From:	"Kirill A. Shutemov" <kirill@...temov.name>
To:	Konstantin Khlebnikov <khlebnikov@...nvz.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [PATCH trivial] mm: make get_mm_counter static-inline

On Thu, Jan 19, 2012 at 04:40:05PM +0400, Konstantin Khlebnikov wrote:
> This patch makes get_mm_counter() always static inline,
> it is simple enough for that. And remove unused set_mm_counter()
> 
> bloat-o-meter:
> 
> add/remove: 0/1 grow/shrink: 4/12 up/down: 99/-341 (-242)
> function                                     old     new   delta
> try_to_unmap_one                             886     952     +66
> sys_remap_file_pages                        1214    1230     +16
> dup_mm                                      1684    1700     +16
> do_exit                                     2277    2278      +1
> zap_page_range                               208     205      -3
> unmap_region                                 304     296      -8
> static.oom_kill_process                      554     546      -8
> try_to_unmap_file                           1716    1700     -16
> getrusage                                    925     909     -16
> flush_old_exec                              1704    1688     -16
> static.dump_header                           416     390     -26
> acct_update_integrals                        218     187     -31
> do_task_stat                                2986    2954     -32
> get_mm_counter                                34       -     -34
> xacct_add_tsk                                371     334     -37
> task_statm                                   172     118     -54
> task_mem                                     383     323     -60
> 
> try_to_unmap_one() grows because update_hiwater_rss() now completely inline.
> 
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org>

Acked-by: Kirill A. Shutemov <kirill@...temov.name>

-- 
 Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ