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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180908140306.GB17637@cmpxchg.org>
Date:   Sat, 8 Sep 2018 10:03:06 -0400
From:   Johannes Weiner <hannes@...xchg.org>
To:     Alexey Dobriyan <adobriyan@...il.com>
Cc:     linux-kernel@...r.kernel.org, willy@...radead.org,
        vjitta@...eaurora.org, sumit.semwal@...aro.org,
        rientjes@...gle.com, mhocko@...nel.org,
        mgorman@...hsingularity.net, labbott@...hat.com,
        iamjoonsoo.kim@....com, guro@...com, cl@...ux.com, vbabka@...e.cz
Subject: Re: + mm-slab-shorten-kmalloc-cache-names-for-large-sizes.patch
 added to -mm tree

On Fri, Sep 07, 2018 at 10:58:16PM +0300, Alexey Dobriyan wrote:
> On Thu, Sep 06, 2018 at 03:48:49PM -0700, akpm@...ux-foundation.org wrote:
> > -	{"kmalloc-1024",         1024},		{"kmalloc-2048",         2048},
> > -	{"kmalloc-4096",         4096},		{"kmalloc-8192",         8192},
> > -	{"kmalloc-16384",       16384},		{"kmalloc-32768",       32768},
> > -	{"kmalloc-65536",       65536},		{"kmalloc-131072",     131072},
> > -	{"kmalloc-262144",     262144},		{"kmalloc-524288",     524288},
> > -	{"kmalloc-1048576",   1048576},		{"kmalloc-2097152",   2097152},
> > -	{"kmalloc-4194304",   4194304},		{"kmalloc-8388608",   8388608},
> > -	{"kmalloc-16777216", 16777216},		{"kmalloc-33554432", 33554432},
> > -	{"kmalloc-67108864", 67108864}
> > +	{"kmalloc-1k",           1024},		{"kmalloc-2k",           2048},
> > +	{"kmalloc-4k",           4096},		{"kmalloc-8k",           8192},
> > +	{"kmalloc-16k",         16384},		{"kmalloc-32k",         32768},
> > +	{"kmalloc-64k",         65536},		{"kmalloc-128k",       131072},
> > +	{"kmalloc-256k",       262144},		{"kmalloc-512k",       524288},
> > +	{"kmalloc-1M",        1048576},		{"kmalloc-2M",        2097152},
> > +	{"kmalloc-4M",        4194304},		{"kmalloc-8M",        8388608},
> > +	{"kmalloc-16M",      16777216},		{"kmalloc-32M",      33554432},
> > +	{"kmalloc-64M",      67108864}
> 
> I'd rather use KB and MB suffixes or at least capital 'K'.

I like k and M better.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ