Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2575347rdg; Mon, 14 Aug 2023 07:01:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHe1PW5qfH80334E70SIeonpg3K3IqHtwnf/T+0VTtdS9/tjsXjpyDazZxh1W5H9kq2ltrg X-Received: by 2002:a05:6a00:15d6:b0:641:3bf8:6514 with SMTP id o22-20020a056a0015d600b006413bf86514mr12913786pfu.10.1692021699334; Mon, 14 Aug 2023 07:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692021699; cv=none; d=google.com; s=arc-20160816; b=SmX4fi9Ef9HcVTM7jt3aOvq5/DQW46XIgMsIOkQkVu0kHmr0TeQwwZQql1YZnRTg2C pzZ34ikXD/LmkKoeIHMhRv3M1BwUmVOasbvoniCZ438Vq6BpplIf0HpabYIV2+gkkOaq CkZvhH9x3CGNudlXxch7anxQ3PWiW+tQRX4RiEUkCmErQfB83F3JzabIxHdsvWLw/l1R 6KC02Tqc6umGtmeq5AvWfWrXOVEJMdi809edu6jQYD0d6W1a5EzG2B3ReQlua9M783uC Am9Iqe26cSIEarS/a44dF+nnhwOgQD6el1BePKE9UUTanmhaviLy3y4rCEuXo40BJoGw 4q2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=Y7np9sBzz3ulx4HSM0NvWuYOFiMGgmI3bxnlJ4kzrzg=; fh=8vfFNFY3XWEje8nq6OdffjMCa6ewfzb1eFLHGrI1NJs=; b=VXE95101IEvapvT7o2nFdorbhpKZlqOvJVoM3ZRDcMkCI8lrUTkyJSB/Zp6v0ijYQx BuZqG2TjQxeBOmvmrt+vBvK1Y8LlUqDsP+rojuVDuYGz/u27M6dwVr9JKBVLJGMtZXFy sHCrQq1dXJ7946zJp3n45d8m1X3Wej4HX81tsTDfgGmHd6J/ojlx3GHlctH81KphztVu cM9tdsTcIgZvN7gSjyF+OhHkV30mJQbFuw93affUpcFy/JSHhFguZTLj8tG4XGpkaRr4 nPcd6o3VrHDF6dJ8E1Xwj5VXjhUesUUBrfj6kdVbPh+POC8mVyN9XnxBv9vocIFxgRTO HHGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="N6/AGRbe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a634507000000b00564b1002adbsi8245764pga.240.2023.08.14.07.01.25; Mon, 14 Aug 2023 07:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="N6/AGRbe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbjHNMvD (ORCPT + 99 others); Mon, 14 Aug 2023 08:51:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230477AbjHNMuy (ORCPT ); Mon, 14 Aug 2023 08:50:54 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B076DE5E; Mon, 14 Aug 2023 05:50:51 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 3C48537B; Mon, 14 Aug 2023 12:50:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 3C48537B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1692017451; bh=Y7np9sBzz3ulx4HSM0NvWuYOFiMGgmI3bxnlJ4kzrzg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=N6/AGRbeJW50Rlr8/b5roDoQ69Th4jn001HwPl3porEmJ3OtMIcJg+wNcwOdkex9e AOMdP3yG/XwvoXVHCWv0vA12qj6IQva7f4RuzJtF2kX5X5sdd8dcfLFPl/5BikhIYp 51x85myRx98jhcm83HWKMA8YgG98eZ6xoK6OcvZAhXrOWRVYg/DxX4NF4obpU5MkER 9CRKn3OhMguWCiSJyHFeH/XbEF1xkVsZAG4HKp2byjgIA4sghdR2KRsKp0oD3h9/yy RcL61vvcwgVgui5Mkg0BbKWyYUg3yAaVeYSJ6EK6BkNrVX1LTggAVUlrHIOr+bx4db hzdU12X1nV+rw== From: Jonathan Corbet To: Yanteng Si , Gang Li Cc: Alex Shi , Akira Yokosawa , Peter Zijlstra , linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alan Stern , Andrea Parri , Will Deacon , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Daniel Lustig , Joel Fernandes , Andrew Morton Subject: Re: [PATCH RESEND v1] docs/zh_CN: add zh_CN translation for memory-barriers.txt In-Reply-To: <479156cf-1bdb-421a-8dab-0db8ff73012b@loongson.cn> References: <20230811080851.84497-1-gang.li@linux.dev> <2f519a69-8f12-4c07-bf20-6776a5ada256@loongson.cn> <479156cf-1bdb-421a-8dab-0db8ff73012b@loongson.cn> Date: Mon, 14 Aug 2023 06:50:50 -0600 Message-ID: <87o7j9wzx1.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yanteng Si writes: > =E5=9C=A8 2023/8/14 10:40, Gang Li =E5=86=99=E9=81=93: >> Hi, >> >> On 2023/8/12 19:00, Yanteng Si wrote: >>> =E5=9C=A8 2023/8/11 16:08, Gang Li =E5=86=99=E9=81=93: >>>> +=E8=AF=91=E6=B3=A8=EF=BC=9A >>>> +=E6=9C=AC=E6=96=87=E4=BB=85=E4=B8=BA=E6=96=B9=E4=BE=BF=E6=B1=89=E8=AF= =AD=E9=98=85=E8=AF=BB=EF=BC=8C=E4=B8=8D=E4=BF=9D=E8=AF=81=E4=B8=8E=E8=8B=B1= =E6=96=87=E7=89=88=E6=9C=AC=E5=90=8C=E6=AD=A5; >>>> +=E8=8B=A5=E6=9C=89=E7=96=91=E9=97=AE=EF=BC=8C=E8=AF=B7=E9=98=85=E8=AF= =BB=E8=8B=B1=E6=96=87=E7=89=88=E6=9C=AC; >>>> +=E8=8B=A5=E6=9C=89=E7=BF=BB=E8=AF=91=E9=97=AE=E9=A2=98=EF=BC=8C=E8=AF= =B7=E9=80=9A=E7=9F=A5=E8=AF=91=E8=80=85=EF=BC=9B >>>> +=E8=8B=A5=E6=83=B3=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=EF=BC=8C=E4=B9= =9F=E8=AF=B7=E5=85=88=E4=BF=AE=E6=94=B9=E8=8B=B1=E6=96=87=E7=89=88=E6=9C=AC= =E3=80=82 >>> >>> In fact, we already have an easier way to do this, just include=20 >>> disclaimer-zh_CN. >>> >>> If you observe the files under .../zh_CN/, they all have a similar=20 >>> header, and we can completely follow them. >>> >> Thanks. I just noticed that there are txt files under=20 >> "zh_CN/arch/arm64/" and "zh_CN/video4linux/". They have the same=20 >> header, and I will >> refer to them in v2. >> >>> But you should also have noticed that memory-barriers are not a=20 >>> standard rst file and will not be built, which will result in it only=20 >>> staying in the development tree. >>> It won't appear at: >> https://docs.kernel.org >> https://www.kernel.org/doc/html/latest/ >> >> But people can still access the txt document in this way: >> https://www.kernel.org/doc/Documentation/memory-barriers.txt >> >>> Finally, this patch is too huge and we may need some time to review it. >>> >> Of course. Would it be more convenient if I split the file into multiple >> patches and send them as one series? > You didn't have to. > > > If you want to send a series, you can refactor the original document=20 > into rst format and make it the first patch of the series. > > Just like: > > [PATCH=C2=A0 v2 0/2] docs: Refactor=C2=A0memory-barriers.txt and translat= e it into=20 > Chinese > > [PATCH=C2=A0 v2 1/2] docs: convert memory-barriers.txt to RST For $REASONS, memory-barriers.txt is staying as .txt, thus, as Gang Li pointed out, the wrapper page that pulls it in. The proper solution is to create a wrapper for the translated .txt file as well. Thanks, jon