From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gentwo.org (gentwo.org [62.72.0.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78F89134AB for ; Fri, 14 Feb 2025 18:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.72.0.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739557918; cv=none; b=meGTYjv+duvpXrp1h3B8M+dZfWS4xioK/lSbrjA3CAlNRf4dvmj71DeGGyflsmyGXeedB3WeUcShTGEqkSyineNWkb6gO74Hp4lKKVeiReFiI6GB1etzHWCsoVQn32GvxDsCsT6WFeip84e/1MHn6x/K6H8LkdJFtqHYAszGiAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739557918; c=relaxed/simple; bh=p3fzLWBxugP9UUQLXxBaAVSacaf+hJEcj69Vafsmb74=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=OwXfCuLLdWPQ/4cqtGNYpiJ9YMWNoW6SrmP3WbvOBuTmj8YdIwri+7nzpvR68sZxcDP4BimyZtryRSfXEl8+tnA1Fy/wo+VAdTnhYJByvWxoC+mMlpKi32GgyGGFCS7pDz17wkjoLvHAH2bMST4H23/UMChuXS86/Sn6o1ZtaMU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gentwo.org; spf=pass smtp.mailfrom=gentwo.org; dkim=pass (1024-bit key) header.d=gentwo.org header.i=@gentwo.org header.b=s8dv2vqJ; arc=none smtp.client-ip=62.72.0.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gentwo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentwo.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gentwo.org header.i=@gentwo.org header.b="s8dv2vqJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gentwo.org; s=default; t=1739557328; bh=p3fzLWBxugP9UUQLXxBaAVSacaf+hJEcj69Vafsmb74=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=s8dv2vqJdWTQ5e/kt71jraL+Uo4nTZcq4pVLfEgg/qqtiCpouftP+sGWVAn8m6Fmo VtgLqsfvxIQBYHdaH37rVJnDDTAmKNp1CfnQFXkl5dVqex25fqvuE8DZOlkm7Z3CZs Ac2gWiwbbp9wTfTmkEiLPItE+h+JsgH32frEqjSA= Received: by gentwo.org (Postfix, from userid 1003) id 30CBB40113; Fri, 14 Feb 2025 10:22:08 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 2F2E8400C6; Fri, 14 Feb 2025 10:22:08 -0800 (PST) Date: Fri, 14 Feb 2025 10:22:08 -0800 (PST) From: "Christoph Lameter (Ampere)" To: Uros Bizjak cc: Dave Hansen , x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Dennis Zhou , Tejun Heo , "Peter Zijlstra (Intel)" Subject: Re: [PATCH RESEND 1/2] x86/locking: Use ALT_OUTPUT_SP() for percpu_{,try_}cmpxchg{64,128}_op() In-Reply-To: Message-ID: References: <20250213191457.12377-1-ubizjak@gmail.com> <04adffd9-2900-4cdb-a557-1c486a87b522@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Thu, 13 Feb 2025, Uros Bizjak wrote: > OTOH, all recent x86_64 processors support CMPXCHG128 insn, so the > call alternative will be rarely used. Do we still support processors without cmpxchg128? If not then lets just drop the calls from the kernel.