From: Weijie Yuan <wy@wyuan.org>
To: Bruce Song <xiongwei.song@linux.dev>
Cc: Dongliang Mu <dzm91@hust.edu.cn>,
alexs@kernel.org, si.yanteng@linux.dev, corbet@lwn.net,
skhan@linuxfoundation.org, rdunlap@infradead.org,
paulmck@kernel.org, linux-doc@vger.kernel.org,
rcu@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] docs/zh_CN: Add RCU/whatisRCU.rst Chinese translation
Date: Wed, 25 Nov 2026 11:43:17 +0800 [thread overview]
Message-ID: <awZZVV3BlovD-xNf@wyuan.org> (raw)
In-Reply-To: <946792d2-4241-445d-820b-301a570ee2c3@linux.dev>
On Tue, Nov 24, 2026 at 10:23:50PM +0800, Bruce Song wrote:
[...]
> > > +:翻译:
> > > +
> > > + 宋雄微 Xiongwei Song <xiongwei.song@linux.dev>
> > > +
> > > +:校译:
> > > +
> > > +.. _zh_cn_whatisrcu_doc:
> >
> >
> > Please double check all the references. If one reference is not referred
> > from other places, please remove it in the translation.
>
> Ok, I will do that.
Let's make it a rule or instruction, shall we?
I didn't find any specific rules for label usage in doc-guide dir. (only
no more top-level label on list) But I suspect there must be unused
labels in English docs.
We either:
(1) make it consistent, i.e. keep adding unused labels.
or
(2) check usused labels and do not create new labels for it.
1 may be easier for manual translating jobs that you don't need to check
every label manually. You just need to add a '_zh' before each original
label. But apparently this will create tons of unused labels. So, no?
2 may costs more attention, but I guess agents could handle this
nowadays with proper prompts.
I forgot to mention this thing in Daniel's series [*], shall we mention
this now, or send a RFC patch after they get merged?
And also, add a rule for English docs that _do_not_ write a label which
is not used? This will make our job easier.
[*] https://lore.kernel.org/linux-doc/20261119041009.63651-1-danielmaraboo@gmail.com/
[...]
> > > +概括起来如下:
> > > +
> > > +- 使用rcu_read_lock()和rcu_read_unlock()守护RCU读端临界区。
> > > +
> > > +- 在一个RCU读端临界区之内, 使用rcu_dereference()解引用RCU保护的指针。
> > > +
> > > +- 使用可靠的设计(例如锁或信号量)保持在互相干扰的情况下并发更新。
> >
> >
> > |The original says to use locks or semaphores to prevent concurrent
> > updates from interfering with each other. Please change this to “使用可
> > 靠的设计(例如锁或信号量)防止并发更新互相干扰”。|
>
> The verb in original doc is "keep", and the objective is "updates" here.
> IMO, "prevent" has changed the original meaning, and the objective has been
> changed to "interfering with each other". Or do you have any other thoughts?
In my dictionary, "keep A from doing B" means "防止 A 做 B",
so something like:
Use some solid design (such as locks or semaphores) to keep
concurrent updates from interfering with each other.
采用可靠的同步机制(例如锁或信号量),防止并发更新相互干扰。
Thanks.
next prev parent reply other threads:[~2026-11-25 3:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 13:16 [PATCH v2 0/2] Add RCU docs Chinese translation xiongwei.song
2026-11-18 13:16 ` [PATCH v2 1/2] docs/zh_CN: Add RCU/index.rst translation xiongwei.song
2026-11-18 13:16 ` [PATCH v2 2/2] docs/zh_CN: Add RCU/whatisRCU.rst Chinese translation xiongwei.song
2026-11-23 14:35 ` Dongliang Mu
2026-11-24 14:23 ` Bruce Song
2026-11-25 3:43 ` Weijie Yuan [this message]
2026-11-23 13:09 ` [PATCH v2 0/2] Add RCU docs " Bruce Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awZZVV3BlovD-xNf@wyuan.org \
--to=wy@wyuan.org \
--cc=alexs@kernel.org \
--cc=corbet@lwn.net \
--cc=dzm91@hust.edu.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=si.yanteng@linux.dev \
--cc=skhan@linuxfoundation.org \
--cc=xiongwei.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox