From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69133 invoked by alias); 8 Dec 2017 20:06:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 69121 invoked by uid 89); 8 Dec 2017 20:06:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: mx1.redhat.com Subject: Re: [PATCHv2] powerpc: POWER8 memcpy optimization for cached memory To: Tulio Magno Quites Machado Filho , libc-alpha@sourceware.org Cc: Adhemerval Zanella , Rajalakshmi Srinivasaraghavan References: <87vaik8uxy.fsf@linux.vnet.ibm.com> <20171208194020.5005-1-tuliom@linux.vnet.ibm.com> From: Florian Weimer Message-ID: Date: Fri, 08 Dec 2017 20:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171208194020.5005-1-tuliom@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-12/txt/msg00285.txt.bz2 On 12/08/2017 08:40 PM, Tulio Magno Quites Machado Filho wrote: > +@deftp Tunable glibc.tune.cached_memopt > +The @code{glibc.tune.cached_memopt=[0|1]} tunable allows the user to enable > +optimizations recommended to cacheable memory. > + > +This tunable is specific to powerpc, powerpc64 and powerpc64le. > +@end deftp I think this has a slight grammar problem. What about this instead? The @code{glibc.tune.cached_memopt=[0|1]} tunable allows the user to enable optimizations recommended for cacheable memory. If set to @code{1}, @theglibc{} assumes that the process memory image consists of cacheable (non-device) memory only. The default, @code{0}, indicates that the process may use device memory. (I think it's best not to mention string functions here because it is impossible to describe how glibc.tune.cached_memopt affects them due to compiler optimizations.) Thanks, Florian