Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2041596rdd; Thu, 11 Jan 2024 18:40:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrDvdD2aRJLH1DiXZjfDGpXxzDtwXApIRTPFCJkJdJ8cdgdHA8Qk7s6G1PoeTUnLSPpZIs X-Received: by 2002:ac8:5701:0:b0:429:c6e0:afc5 with SMTP id 1-20020ac85701000000b00429c6e0afc5mr899962qtw.33.1705027252348; Thu, 11 Jan 2024 18:40:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705027252; cv=none; d=google.com; s=arc-20160816; b=N8OE1EojGy8Q4k5lyvA8ZZ0StljxsH/u4yusNv1+I/ZpEnawju4pBvW/uSwvctts+p K8p7rce3QdxL54LIVbzQiNexgiwrtSZXEWu4wcF7fg9G27okaV1CMwzklsqEGzKEI38v dMfC5sxGu/KhNXqY7OpbmdLUTqwyiqHoOfoDfK6tCXuuINYpE2x5q3WcoWsHOlQLwm9R oVzyR4wQNCfi8jBG4X6AK6OghcO6mgDPKPrE3ARsWQiiS+NEp8bSnW0UIPS3ct1ITtaP UH6dRVi1iuPUgHE+2VJvY9Qh3FcKYHzho3fL+HAQ2263Sb6SI9bv48FqKHRdOVAsXZ2b 8lDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-filter; bh=cxiBoXcpI6do1qu/gXK5vZWzZUsb+Oimr50yzy7oH00=; fh=cxJ5nUZkhes7ilkBxu820d9Sg0k+SGZ2aQIXNT8ybhE=; b=EqRUya+T12BPyZUCDcxGzm0vmsPwlLdqsZbOd9txnOdqa91m52YwDcattkDHjAtW5e qwkkRbqM2rxL3XyRA9kUrG328I+ZXojjSfc07wtuMUjYcD5jGWX/vg0zFjrsNKNM0sLi Lcw8i2RGIkO2HkNgfxg5rMZz9Ksbo/snBzBcmM3XGwGZG28yD5zgc9YYq8yZTyW5gIlU 5jUsntOgpE52L9zIf03TOHCUtDagok4gy8sZLSiNaovnVtt9PThu6Nz+2gTWI2TJoDdK 7MoWIVXXAXXAGH4+Zw1pHJCYWDGmEdT3GbyjYkTaBSU1Lf5miApToMYUVkUNM0wdnim0 zI3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2023121201 header.b=mc3oPQll; spf=pass (google.com: domain of linux-kernel+bounces-24243-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24243-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t3-20020a05622a01c300b004297dd0fcc1si2168973qtw.584.2024.01.11.18.40.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 18:40:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24243-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@zytor.com header.s=2023121201 header.b=mc3oPQll; spf=pass (google.com: domain of linux-kernel+bounces-24243-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24243-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 21DC31C23AAF for ; Fri, 12 Jan 2024 02:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44013747F; Fri, 12 Jan 2024 02:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="mc3oPQll" Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 93FD365E for ; Fri, 12 Jan 2024 02:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Received: from [IPV6:2601:646:8002:4641:eb14:ad94:2806:1c1a] ([IPv6:2601:646:8002:4641:eb14:ad94:2806:1c1a]) (authenticated bits=0) by mail.zytor.com (8.17.2/8.17.1) with ESMTPSA id 40C2eH2Y051720 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 11 Jan 2024 18:40:22 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 40C2eH2Y051720 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2023121201; t=1705027223; bh=cxiBoXcpI6do1qu/gXK5vZWzZUsb+Oimr50yzy7oH00=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mc3oPQllywgN0XlVHwTsPad2JWiPEtbs4MrNtEbbrxJt5QEVsOY5q1KcrpPPJc6MQ fOCMbXqUWl9MK4c+ySQQLNhVVXEMH378cb4D5aFjeJJl+Wv3weLvkI3QyHDtsDC1JH dOmvpnqsve0gQYz2A2p9KtPO3qbKdLL2S9TpmaIHUf9KoF9zDMfZC8YSe/KehxrSAn dbgkrmpe9XH8fLVxREH4cn/naq8l2tThHufaXc3ue3NTedFUqHIC94SQh+k1rsXEBZ o9gTH6DvRQDzgGVv1A/8VVNWH1APiNsNJhiiML94CMHBtv0EnUaLGeTjmVr9HMdttB +16R7iDIQKzJA== Message-ID: Date: Thu, 11 Jan 2024 18:40:11 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++ Content-Language: en-US To: David Howells Cc: pinskia@gmail.com, Alexey Dobriyan , linux-kernel@vger.kernel.org References: <3465e0c6-f5b2-4c42-95eb-29361481f805@zytor.com> <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> <1681813.1704843645@warthog.procyon.org.uk> From: "H. Peter Anvin" In-Reply-To: <1681813.1704843645@warthog.procyon.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/9/24 15:40, David Howells wrote: > >>> Issues: >>> (1) Need spaces inserting between strings and symbols. >> >> I have to admit I don't really grok this? > > You're not allowed to do things like: > > asm volatile("btl "__percpu_arg(2)",%1" > > but rather have to do: > > asm volatile("btl " __percpu_arg(2) ",%1" > > as you're now allowed to specify type qualifiers. See > > https://en.cppreference.com/w/cpp/language/user_literal > Oh, right. This one should be easy enough to automate, though. -hpa