Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3662090ybi; Fri, 5 Jul 2019 11:21:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc3Yu0WazZwG3ClHkYSyQP7K78VLjIPAZlT7Sbn6InmUjaArGVGKsE9mmSCjG3dxXe98qS X-Received: by 2002:a63:5c1c:: with SMTP id q28mr6809450pgb.288.1562350877907; Fri, 05 Jul 2019 11:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562350877; cv=none; d=google.com; s=arc-20160816; b=PChYHKesr9Db6MAp+90jcugQ/ABAhFskraeSDIn++POyPF7sYimyOwZ3On7zpwXetn DSVRUTYfwlWS3vjQZzcIt5zchk3X25NgKc6Vk7+DyVavyQuyMbDNgRd72GiPdKT1r9mi dOBfDW0TfET+pfG2sIAOLrmHzJCaReBwKlyTtgBsv7r0FbjqNV6kroMF43s3i++mamrf RWyyO58+kZnyEl9q02pna8a+Qr2FTx3rRbPX8bdgI+0K24nz1OpUBLzGo5g4jtCKXjvA fYl1TAFU9oEWMxZ2nRY20wuPRcfOy5FHzhrI14B4gwRDdhhZfNoHwV9snbTpD6ezIFru 9kGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=TeLEUHqZcS2XHWs9Stu73yoSxS785h8O3OY1oogKKCQ=; b=GXvNgotWMsJvTwDAiMdI+jOcX3+FNx0jzZPzZBuVGkbGYMIjedQwb0ekjyDk4GF7H/ 5eN2qmlyn4fSFoFPGgQGpk6kFVQpGz+V2r8J+scGtm0piPDeeFeY58qt7UGupE3mYSze FC9QFNpxvHgoJC2k338Um0b8HW5Llpwr7mBR2DWxagKL9lAzDelVarQ2dN5moHr5wVm5 oxeqZV0c758EGnuXhkSmnTkHA6fFuQqxbL7ZAuGDpoy49qaUkp9k8o0b0IdIp51t1+KM SfNryWubTzCuhpbyenZy/VR46YgkFXaO3xgGm51FodofE1JVCEV1aX6YY2R8hxZ6D7Nl n1Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b="d/qRYpWa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 94si9591054plb.224.2019.07.05.11.21.02; Fri, 05 Jul 2019 11:21:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b="d/qRYpWa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbfGESNr (ORCPT + 99 others); Fri, 5 Jul 2019 14:13:47 -0400 Received: from a9-54.smtp-out.amazonses.com ([54.240.9.54]:37550 "EHLO a9-54.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfGESNr (ORCPT ); Fri, 5 Jul 2019 14:13:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1562350426; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=TeLEUHqZcS2XHWs9Stu73yoSxS785h8O3OY1oogKKCQ=; b=d/qRYpWaFqeZw3rhjpieZ+DQmq9wVRn+D6yyjyKsBLpC+G1oQ8n5Hdrk2PCoN+lE Hs0N/jxd1qmxGuQEsOz299CAgUsjE71Ku2gRi8totodbwfUaGj8nLY5aVsnAu/F8ViW Yb98szIbMYFFAnIkBFuj6JkLBhrEyz7hpnu4Zo+8= Date: Fri, 5 Jul 2019 18:13:46 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Markus Elfring cc: linux-mm@kvack.org, Andrew Morton , David Rientjes , Joonsoo Kim , Pekka Enberg , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] mm/slab: One function call less in verify_redzone_free() In-Reply-To: Message-ID: <0100016bc3579800-ee6cd00b-6f59-4d86-be0c-f63e2b137d18-000000@email.amazonses.com> References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.07.05-54.240.9.54 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.