From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx114.postini.com [74.125.245.114]) by kanga.kvack.org (Postfix) with SMTP id 568F76B0072 for ; Wed, 14 Aug 2013 03:24:56 -0400 (EDT) Received: by mail-lb0-f172.google.com with SMTP id o7so6648017lbv.31 for ; Wed, 14 Aug 2013 00:24:54 -0700 (PDT) Date: Wed, 14 Aug 2013 11:24:53 +0400 From: Cyrill Gorcunov Subject: Re: [PATCH -mm] mm: Unify pte_to_pgoff and pgoff_to_pte helpers Message-ID: <20130814072453.GK2869@moon> References: <20130814070059.GJ2869@moon> <520B303D.2090206@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <520B303D.2090206@zytor.com> Sender: owner-linux-mm@kvack.org List-ID: To: "H. Peter Anvin" Cc: Andrew Morton , Andy Lutomirski , Pavel Emelyanov , Matt Mackall , Xiao Guangrong , Marcelo Tosatti , KOSAKI Motohiro , Stephen Rothwell , Peter Zijlstra , "Aneesh Kumar K.V" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar On Wed, Aug 14, 2013 at 12:22:37AM -0700, H. Peter Anvin wrote: > On 08/14/2013 12:00 AM, Cyrill Gorcunov wrote: > > +#define pte_bfop(v,r,m,l) ((((v) >> (r)) & (m)) << (l)) > > "bfop"? B_it_F_ield_OP_eration, Peter I don't mind to use any other name, this was just short enough to type. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org