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  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]
Date:   Sat, 6 Jul 2019 15:45:10 -0700 (PDT)
From:   David Rientjes <>
To:     Christopher Lameter <>
cc:     Markus Elfring <>,,
        Andrew Morton <>,
        Joonsoo Kim <>,
        Pekka Enberg <>,
        LKML <>,
Subject: Re: [PATCH] mm/slab: One function call less in

On Fri, 5 Jul 2019, Christopher Lameter wrote:

> On Fri, 5 Jul 2019, Markus Elfring wrote:
> > Avoid an extra function call by using a ternary operator instead of
> > a conditional statement for a string literal selection.
> Well. I thought the compiler does that on its own? And the tenary operator
> makes the code difficult to read.

Right, and I don't understand the changelog: yes, there's one less 
function call in the source but functionally there's still a conditional; 
this isn't even optimizing DEBUG builds.

Powered by blists - more mailing lists