From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8605C001B0 for ; Mon, 14 Aug 2023 13:14:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 29FB16B0074; Mon, 14 Aug 2023 09:14:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2284F8E0002; Mon, 14 Aug 2023 09:14:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0A12A8E0001; Mon, 14 Aug 2023 09:14:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E86A56B0074 for ; Mon, 14 Aug 2023 09:14:50 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A41D51C9698 for ; Mon, 14 Aug 2023 13:14:50 +0000 (UTC) X-FDA: 81122755140.23.5B03EA8 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by imf18.hostedemail.com (Postfix) with ESMTP id 0717A1C001D for ; Mon, 14 Aug 2023 13:14:46 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf18.hostedemail.com: domain of siyanteng@loongson.cn designates 114.242.206.163 as permitted sender) smtp.mailfrom=siyanteng@loongson.cn ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692018888; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ygkzed/m6wWIunhY1ZV1PuiWVkTjT6gulos1R/BWO3E=; b=IWFNLnvVHkLCDcCHXChKxPxzor5C/UwB3tLRBIgW9yEveJuEL3cUIFMuPueML5coaMjDLC 7y03TF+w/9X/cPhwT/fZjr7OwajHqp6Y6eAw9oYnJyIYq7L1PQosnPPHGCtdbfyr0bY2Ud Haul6YqdKzpsObZl3Kx/AemICwhHmQo= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf18.hostedemail.com: domain of siyanteng@loongson.cn designates 114.242.206.163 as permitted sender) smtp.mailfrom=siyanteng@loongson.cn ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692018888; a=rsa-sha256; cv=none; b=dVJ4R+lnr64fl1zhAAum+CyB7aJgayKysC6ywShBa/tfE7dB0+Eec6bW1/AHsvTfM7NJxg 3QZ1Gl1rNCn2cIdusg+yjpGEbdYihqyIcwu4jolAlGOTq2vmOSBpWl/RUH3Cxqpi5faknz K85mWbTCXbtU2/Wz5++HhMNLpvbCeRM= Received: from loongson.cn (unknown [112.20.109.245]) by gateway (Coremail) with SMTP id _____8AxlPDCKNpkMTcYAA--.50015S3; Mon, 14 Aug 2023 21:14:42 +0800 (CST) Received: from [192.168.100.8] (unknown [112.20.109.245]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxviO_KNpkvQBaAA--.49407S3; Mon, 14 Aug 2023 21:14:41 +0800 (CST) Message-ID: <97c18b17-047d-4ec9-8698-8d4afffbc27b@loongson.cn> Date: Mon, 14 Aug 2023 21:14:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND v1] docs/zh_CN: add zh_CN translation for memory-barriers.txt Content-Language: en-US To: Jonathan Corbet , 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 References: <20230811080851.84497-1-gang.li@linux.dev> <2f519a69-8f12-4c07-bf20-6776a5ada256@loongson.cn> <479156cf-1bdb-421a-8dab-0db8ff73012b@loongson.cn> <87o7j9wzx1.fsf@meer.lwn.net> From: Yanteng Si In-Reply-To: <87o7j9wzx1.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8DxviO_KNpkvQBaAA--.49407S3 X-CM-SenderInfo: pvl1t0pwhqwqxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBj93XoW7CFWkCF13ur4fKF1fJry7Arc_yoW8tr43pa yrAF4q9F4DJrZrCw1Iyr1YkryrK3ySkw45W34DAryvkr90vr1rKr4ft398CFyvgr1kGFy2 vr42y343Zr15JagCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUvFb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E87Iv 67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41l42xK82IYc2Ij64 vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG 67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r4a6rW5MI IYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E 14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JV WxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUcrWF UUUUU X-Rspam-User: X-Stat-Signature: zggq8dwqgswz6s6x1pjy36zo9jusc4on X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 0717A1C001D X-HE-Tag: 1692018886-722924 X-HE-Meta: U2FsdGVkX19c+/s91QovXb3R8KvmeEqUFtB2tZPw3AGHx/7a0EKTZ1iomEu7mToPyVdsegV+AOpA6HksHwhzflzal5seeHC/2sLNMCj8MBYIB1l7orzHPxgErWrwDtmh9nKuWeR/XH0Y8TxUQSDT98Z8RgCr5tOGP5DnCdexACZV0JFYZBrNUiKFVAxgPlOnBYyPulSqET5EQ+MzVjLAG+iQt5dZb+HOVWpzoQRbABTsXe+jH+GJijiZ82LfFsUffvfRBh+rzM082mPsAG7Ewnm/9CfK/qAL66ks0jDbmwMQCn3kyHF0uharqK4UtLOSIOHS+caeHZix/CkK+nfMUJhaim6qXyNy36lczszGDp16sPr5AGYfgFnKJVUJqClt82TTCU9ZZfuU7c19kgOm6KHmUeD3zuH5LXE1cvv8BSCW8AZI02eQPsnINRAEuS45crKg5Gb4V6sklHtKMw9aGKwz7RkGqqHdEKFlBJr0GT4KblmvvQ33IXQMFMjbOe6I2dM+BfFnSJmemZPTiLA7di1azk8UaL0C/KwBuxh6MIzZqnxHRW3XgeWkp5pcCnhyiQulAhhYSfw37XtZquHgKUxvLKxV3sAhK5VzA7Xt83Yj/DeCNwo5uNL4yI7+vXzsXJvzq6e7281DvB+ellwHXIclC1d8Fr2Ab0ruSN93fED2EXsPJbaQQAE4ZIIeTVlAok6jEOhlgNe7amcLHIZgWk2ozHCJ/oTQyW/UhIKBbJ84Ej3k3IqYBTJcdcgy1qSjyak3gqyf3xRkVObik22+LlVk1baN3xLRsdoKLALF75Nqt+5QKKQRSGvf7+LeeHzcPXrMIexBA0FPecIgt+wdjSsZSUUFq2e2OHpNOpn9UEE8Ob02jEaoCfHIBorDE7HM8mTYkXs+IAbeTfPwxOba842OAwx1CEphvJN478PhuW113z2BHVjRaExQWa52bS3MwEyCk1xdtfsxuaAgbyb HYeVblf/ rVIEK79kILt1lxfliKOgfAOkH/lYIT/FqZBQ3WlEmcvGU8MG7WgzsrUG9Pn+btI0XVlmQ99VW4NLZ+4pe5GV3b67mxQsjYG7ilsWv9Bf+Quc8k11KDDbCGDZ1brbrw4/axh4raH4RtsFh22z8ezEV09WHIKYjJ7OpXiUaHf0/X9oH+ClKljdn3LXz0k6g4HLkAc123IoKZ1E7QizrFsgHj0kgMykEvlONlsf5MXwCTOeeFWI0SjNSj+IMKxy6oIqnSK+19vde+tQyVCs= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 在 2023/8/14 20:50, Jonathan Corbet 写道: > Yanteng Si writes: > >> 在 2023/8/14 10:40, Gang Li 写道: >>> Hi, >>> >>> On 2023/8/12 19:00, Yanteng Si wrote: >>>> 在 2023/8/11 16:08, Gang Li 写道: >>>>> +译注: >>>>> +本文仅为方便汉语阅读,不保证与英文版本同步; >>>>> +若有疑问,请阅读英文版本; >>>>> +若有翻译问题,请通知译者; >>>>> +若想修改文档,也请先修改英文版本。 >>>> In fact, we already have an easier way to do this, just include >>>> disclaimer-zh_CN. >>>> >>>> If you observe the files under .../zh_CN/, they all have a similar >>>> header, and we can completely follow them. >>>> >>> Thanks. I just noticed that there are txt files under >>> "zh_CN/arch/arm64/" and "zh_CN/video4linux/". They have the same >>> header, and I will >>> refer to them in v2. >>> >>>> But you should also have noticed that memory-barriers are not a >>>> standard rst file and will not be built, which will result in it only >>>> 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 >> into rst format and make it the first patch of the series. >> >> Just like: >> >> [PATCH  v2 0/2] docs: Refactor memory-barriers.txt and translate it into >> Chinese >> >> [PATCH  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. Okay. Hi Gang, As Jon said, you need to create a wrapper for the translated memory-barriers.txt. Thanks, Yanteng