Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp187445ybj; Fri, 8 May 2020 09:21:45 -0700 (PDT) X-Google-Smtp-Source: APiQypI48usuMj92EmgcuKgpufnJpwJd05jO6MtTmseZSs6EOZQs2T5QT9agL8zzj55M2vkx0Uid X-Received: by 2002:a17:906:3e96:: with SMTP id a22mr2578002ejj.232.1588954904890; Fri, 08 May 2020 09:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588954904; cv=none; d=google.com; s=arc-20160816; b=ugRfmmPfIt1qIS3Lp34F+pAcpN/sVoMVqWjwf6yXVLBmiWcnj0z8V9wSybXTDf82TF aTeovX+kFGz3Whooc1uAc4ZI9dboNR7RxbLZxnCBXLz7BAlwAhz/3N3BtS5ovB1+QlmJ S3vYMWfLSPQXMDfImdJgCbOoIfEDI6gktbzklQnb8m1/WXpgkgkMeP9lNYSW6NXB4aRG 1yWFcSz+ZwtdfEels6NvnBgyQvgpuSOaA1m+pmUN3GDY7x6l6CUx/4O8ywn+V6KDsuA2 9jACgtZeFz5gbYwOTQJuFfkyawi4k0tt6meI7ma4UA88EAg/ZHXUtYIlYXprEeEuptk0 o4SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5y/BvaMmbxGJRPJfxDgGRJxiwkrlSQ5491HGTO/jgms=; b=etlB78DxTt9Hml6nHKTymfZyCvktVNeunxt1zoyDYqmji0B65ijFZnDInfKmIPR/di YzuFnwxNW9FmhMG4tXBDs6T0h41qGPNrxTfAReUZ3HGMtQWMztcf8Uwwev0Iqbl1eYWI pPkVXgMpzgCm22akRQg8TYoxguP6cYP77gDKzHrV92EC4Cv4vhEZl4GLTfdagTLcpWlS PsaVqop+Niwg3LtkdXvpW1eD1I/oQwaFSpI++wdGHyGn+Zve4m4kuggiS7EdQeM/H5E+ Y6mXi/cZAn8I6jH6W4L98192ADbCkP10eEZKaUDLaehO0OwUYrhLWnPI6m7Na2j6JCfo 7kZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Kr6LBu9i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o32si1185074edb.380.2020.05.08.09.21.21; Fri, 08 May 2020 09:21:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Kr6LBu9i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbgEHQRf (ORCPT + 99 others); Fri, 8 May 2020 12:17:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726797AbgEHQRe (ORCPT ); Fri, 8 May 2020 12:17:34 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FA97C061A0C for ; Fri, 8 May 2020 09:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5y/BvaMmbxGJRPJfxDgGRJxiwkrlSQ5491HGTO/jgms=; b=Kr6LBu9iTpvHpDPUjDXKaZFFkv UCgSqF42hXyZiTPU0P0GnOGrcO7Ts+I9xg1ZYi/t2TF9MGEVIC0IGzUEhQ43Mcazm2a66A/hgL7V3 VQhpc6KaN/VnnctbYujd6ygEmmBTLyzQeEx8ue4rMjY19A3TqpszLg6dLkiK027WFKlvI1Tw1wPI0 CF57sNH0cLDRdEBRXB4MCMhkrRQQdcn8R0pRefSpgYZ5vD0ITinv2H2qR0aKVbvH7o/7EoPzQaH7H nOQCWJqvweVejsTdMDhXiOLFU+etlLu7NtCRkUvfmyJ6TP6ZgsLR3VkrSN9Wvdyfq1MBWP/5EHIr6 FtvQLVSA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jX5gP-0000ES-Um; Fri, 08 May 2020 16:17:06 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EF605306108; Fri, 8 May 2020 18:17:01 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D5BE8236D7E53; Fri, 8 May 2020 18:17:01 +0200 (CEST) Date: Fri, 8 May 2020 18:17:01 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, mhiramat@kernel.org, bristot@redhat.com, jbaron@akamai.com, torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, namit@vmware.com, hpa@zytor.com, luto@kernel.org, ard.biesheuvel@linaro.org, pbonzini@redhat.com, mathieu.desnoyers@efficios.com Subject: Re: [PATCH v4 14/18] static_call: Add static_cond_call() Message-ID: <20200508161701.GD3344@hirez.programming.kicks-ass.net> References: <20200501202849.647891881@infradead.org> <20200501202944.593400184@infradead.org> <20200506172455.ho5em2mtzn7qqfjl@treble> <20200508152730.GB3344@hirez.programming.kicks-ass.net> <20200508154704.6njw5wfsain7p3ev@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200508154704.6njw5wfsain7p3ev@treble> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 08, 2020 at 10:47:04AM -0500, Josh Poimboeuf wrote: > And if you're calling it > > DEFINE_STATIC_CALL_NULL > > then it seems like > > ARCH_DEFINE_STATIC_CALL_NULL > > would be the logical name rather than RETTRAMP? But that looses the TRAMP, and ARCH_DEFINE_STATIC_CALL_NULL_TRAMP so damn long, then again, it's only 2 chars more than what I have now, sure, lets do it. > Still not crazy about static_cond_call(), though I think at least > changing it to static_call_cond() would be better for namespacing > reasons. Done.