Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/10/31 Dongsheng Song <dongsheng.song@xxxxxxxxx>:
> Hi,

Hi, friend
>
> There have some misleading in the translation:
>
> -------------------------------- origin  --------------------------------
> User space is expected to bypass those helpers and implement those things
> inline (either in the code emitted directly by the compiler, or part of
> the implementation of a library call) when optimizing for a recent enough
> processor that has the necessary native support, but only if resulting
> binaries are already to be incompatible with earlier ARM processors due to
> usage of similar native instructions for other things.  In other words
> don't make binaries unable to run on earlier processors just for the sake
> of not using these kernel helpers if your compiled code is not going to
> use new instructions for other purpose.
>
> -------------------------------- Fu Wei  --------------------------------
> 当对那些拥有基本原生支持的新型处理器的代码进行优化时,用户空间最好绕
> 过这些辅助代码并在内联函数中实现这些操作(无论是通过编译器在代码中直
> 接放置,还是作为库函数调用实现的一部分),而仅在其他处理器因使用相似
> 的本地指令而导致二进制结果已与早期 ARM 处理不兼容的情况下才使用这些
> 辅助代码。也就是说,如果你编译的代码不会为了其他目的使用新的指令,则
> 不要仅为了不使用这些内核辅助代码而导致二进制程序无法在早期处理器上运
> 行。
> -------------------------------- me  --------------------------------
> 当对那些拥有原生支持的新型处理器进行代码优化时,如果已经在其它代码中
> 使用类似的新指令,从而导致二进制结果已与早期 ARM 处理器不兼容的情况下,
> 用户空间最好绕过这些辅助代码,并在内联函数中实现这些操作(无论是通过
> 编译器在代码中直接发出,还是作为库函数调用实现的一部分)。也就是说,
> 如果你编译的代码不会为了其他目的使用新指令,则不要仅为了不使用这些内核
> 辅助代码,导致二进制程序无法在早期处理器上运行。
>
> The attachment is my review result.
>

So i think you can make a patch for your new translation.



-- 
Thanks
Harry Wei
��.n��������+%������w��{.n�����{����*jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux