Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935619Ab2JaN7M (ORCPT ); Wed, 31 Oct 2012 09:59:12 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:37290 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab2JaN7I (ORCPT ); Wed, 31 Oct 2012 09:59:08 -0400 MIME-Version: 1.0 In-Reply-To: References: <20121030162004.GA3467@Super-MAGI> Date: Wed, 31 Oct 2012 21:59:06 +0800 Message-ID: Subject: Re: [PATCH]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt From: Ninja Tekkaman To: harryxiyou Cc: Dongsheng Song , Greg Kroah-Hartman , Nicolas Pitre , Dave Martin , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id q9VDxLGv018694 Content-Length: 2707 Lines: 50 Hi, Harry Wei Yes, you are right, I will make a new patch. 在 2012年10月31日 下午6:42,harryxiyou 写道: > 2012/10/31 Dongsheng Song : >> 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?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?