Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp671114imm; Wed, 1 Aug 2018 03:24:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5K6qBY39IMT4J1G2akPW/SQVvwEGjjx49G7oP9kKOla2H6yDvlu8dYYf7Z+qhbprWUHCQ X-Received: by 2002:a63:1d22:: with SMTP id d34-v6mr23962833pgd.133.1533119064995; Wed, 01 Aug 2018 03:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533119064; cv=none; d=google.com; s=arc-20160816; b=CMhZo24OjBVyv/S/n+16IRHaZszKT+NHGxne7rA1NRjdLiL1FiTAcXNZWqAFU92/LQ RYWjkkknvbUo0nlOL7PYrZQiKA/RwoeuYh3Y0/bV/dp1sXGi5T2Ai/3BBR3xq8/SomoO rCZzPne/beLq8oalRKWBEZFQYgEABD2AStuuWtwlI9KqGH6eegoyx+5UJvXC4naymny4 p1DP++CXybI4vqSxeMFBhyGXQw0dr+cQ3af8hZmgp5vs9IxHc2CqLLtFmk9eNDkF6CaV E6Rmhv3r17yNih3ERhlN2xcaSuxK2H11KPR3YJiDIzSSrpq2fLcgWMmWPj0rZ07jFWSf 6zdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=ihbM6kR3tBb3FxEBjAUMtN10+okD3vIaQ/ZVp6XGKaA=; b=U9fiwHBWE8DgjCTJZNVovKC1rClrP0LlhM/pdV3lg8KgqvKQUIVri18xT1bwN4RLrl LWd8SwAIrQF4p/3PjokbvZ/xZ073ImDANYTx9CuY3eFMjDtJnxox2ctjb/T65PTjAsOQ VLqHeMZjBagpSFz3Gy49UTvWkaiHbh5ybA88w9vPQEGxjDDVM6DIlVTADsQvj+rzQGsK 7jIeknnGyhl4j68UJBGcDhzmQiuMHzNwIHJWumXHQFCgaO8virYZ0ouHYyQojd9KIjOP jloZez0IVvy9xnNJJN4EO+cOAFVPznEjnJM56h+66NTtlmAxVktEUqmIcBANvXDkXgeQ Q62Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DxxqE1WG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u123-v6si16436543pgb.414.2018.08.01.03.24.10; Wed, 01 Aug 2018 03:24:24 -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=@gmail.com header.s=20161025 header.b=DxxqE1WG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387559AbeHAMI0 (ORCPT + 99 others); Wed, 1 Aug 2018 08:08:26 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:38167 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733104AbeHAMIZ (ORCPT ); Wed, 1 Aug 2018 08:08:25 -0400 Received: by mail-pf1-f196.google.com with SMTP id x17-v6so7633125pfh.5; Wed, 01 Aug 2018 03:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ihbM6kR3tBb3FxEBjAUMtN10+okD3vIaQ/ZVp6XGKaA=; b=DxxqE1WG8H8D1EhAkscuVWenXMrVBZ8lQiuEDUGwEv78uZvAIucPmlFnOIW+YE+UDS Ika5jx+vFPLcCCJ1LbK/X37obaiAhTy/ymFUi4e3uVBIB1D7QSU6sNS98ph0dmkw8XBr IUvsibshbU8nsL+5beSKnda0aoQI2MebZA7dLHrg1TkZwkXcT12u5cBGN6JWpCVu0EOr t5Gy3D0YMv3glma6mW9ID0aqY0UXqWybRqkBXiTiCUTYplgn5fXn8WAcTe8ERRnFWziy wCuLBViFbkn7MlHwGHyGmm+yluk+lZJkh4GZtSTtlYoC/BPdyPqlwdTz2z01wiouriZD 1IMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ihbM6kR3tBb3FxEBjAUMtN10+okD3vIaQ/ZVp6XGKaA=; b=JgBYIqz9GcpU2Lw1QhRjcCKjCziwIENKCG6FlRanUF25uxw9jkcch6MgBaO0OszlD1 0jvQs7Ey0G1Kaic2ejEhzc0MYjt7Xi4BVWgrjbz3Hwbn/r91Qezjl8bZBdQYDGCkM2E8 r0Vj1/EJ+T2Tkb/KNmcTSB4DjVnBDFej8cSXtJ4PHqp4/CwoTdyc22YBJJfEsOruLrxH 8+YlvxL2zt4YpK25HTarJqquLgBi1E6t3TjDPu12SOP2bZkGP/HX3yfr+Cdyv5QIG3u5 honzQM2kZCj75q4j/ANBc7gIUSoWNv/fQCRcLQsqpmaOCoaouQvz4NdDtNHpLv6JPIBa pCLA== X-Gm-Message-State: AOUpUlHj4qrBoyxyYyPLwakSRJfREOafnbaojCv77hR+gJGoSCznjilW mpP3hMqVtRsm8u7Tuxg8ovZriM0h X-Received: by 2002:a63:5922:: with SMTP id n34-v6mr24064285pgb.113.1533119000446; Wed, 01 Aug 2018 03:23:20 -0700 (PDT) Received: from [192.168.86.235] (c-67-180-167-114.hsd1.ca.comcast.net. [67.180.167.114]) by smtp.gmail.com with ESMTPSA id l84-v6sm26438120pfg.3.2018.08.01.03.23.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 03:23:19 -0700 (PDT) Subject: Re: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 13/17] khwasan: add hooks implementation) To: Andrey Ryabinin , Linus Torvalds , Christoph Lameter Cc: Theodore Ts'o , Jan Kara , linux-ext4@vger.kernel.org, Greg Kroah-Hartman , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , David Miller , NetFilter , coreteam@netfilter.org, Network Development , gerrit@erg.abdn.ac.uk, dccp@vger.kernel.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Dave Airlie , intel-gfx , DRI , Eric Dumazet , Alexey Kuznetsov , Hideaki YOSHIFUJI , Ursula Braun , linux-s390 , Linux Kernel Mailing List , Dmitry Vyukov , Andrew Morton , linux-mm , Andrey Konovalov References: <01000164f169bc6b-c73a8353-d7d9-47ec-a782-90aadcb86bfb-000000@email.amazonses.com> <30ee6c72-dc90-275a-8e23-54221f393cb0@virtuozzo.com> From: Eric Dumazet Message-ID: Date: Wed, 1 Aug 2018 03:23:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <30ee6c72-dc90-275a-8e23-54221f393cb0@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01/2018 02:03 AM, Andrey Ryabinin wrote: > I can't think of any advantage in not having the constructor. > I can't see any advantage adding another indirect call, in RETPOLINE world.