Re: [PATCH v2 2/2] docs/zh_CN: Add RCU/whatisRCU.rst Chinese translation
From: Weijie Yuan
Date: Tue Nov 24 2026 - 22:43:28 EST
On Tue, Nov 24, 2026 at 10:23:50PM +0800, Bruce Song wrote:
[...]
> > > +:翻译:
> > > +
> > > + 宋雄微 Xiongwei Song <xiongwei.song@xxxxxxxxx>
> > > +
> > > +:校译:
> > > +
> > > +.. _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@xxxxxxxxx/
[...]
> > > +概括起来如下:
> > > +
> > > +- 使用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.