From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 23 Feb 2008 10:59:33 -0800 From: Andrew Morton Subject: Re: [PATCH 2/2] ResCounter: Use read_uint in memory controller Message-Id: <20080223105933.e6884808.akpm@linux-foundation.org> In-Reply-To: <6599ad830802230633i483c8dd1q5b541be1a92a5795@mail.gmail.com> References: <20080221203518.544461000@menage.corp.google.com> <20080221205525.349180000@menage.corp.google.com> <47BE4FB5.5040902@linux.vnet.ibm.com> <6599ad830802230633i483c8dd1q5b541be1a92a5795@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Paul Menage Cc: balbir@linux.vnet.ibm.com, xemul@openvz.org, balbir@in.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Sat, 23 Feb 2008 06:33:34 -0800 "Paul Menage" wrote: > On Thu, Feb 21, 2008 at 8:29 PM, Balbir Singh wrote: > > > > Looks good, except for the name uint(), can we make it u64(). Integers are 32 > > bit on both ILP32 and LP64, but we really read/write 64 bit values. > > Yes, that's true. But read_uint() is more consistent with all the > other instances in cgroups and subsystems. So if we were to call it > res_counter_read_u64() I'd also want to rename all the other > *read_uint functions/fields to *read_u64 too. Can I do that in a > separate patch? > Sounds sensible to me. -- 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