From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753203AbZHXS16 (ORCPT ); Mon, 24 Aug 2009 14:27:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753176AbZHXS15 (ORCPT ); Mon, 24 Aug 2009 14:27:57 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:57654 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753102AbZHXS14 (ORCPT ); Mon, 24 Aug 2009 14:27:56 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=dbzQkPMYnfPYNffGqGKPDltXMTgKuEA8g6gCxasZr03BXLcJS+L1d9xmMe0YoW9Onj CIWJJKbebPIfJmbDfEBx1Iir4/TvKyceDllo0zg61mNEnNwTA13R4lPk45heKp0TD+BZ BY2+NzycbLveLVOvz0ktY0PkU6kGQ6UKYg1Vo= MIME-Version: 1.0 In-Reply-To: <4A92D7D4.7020807@vflare.org> References: <200908241007.47910.ngupta@vflare.org> <84144f020908241033l4af09e7h9caac47d8d9b7841@mail.gmail.com> <4A92D35F.50604@vflare.org> <84144f020908241108o4d9d6e38wba7806977b8b6073@mail.gmail.com> <4A92D7D4.7020807@vflare.org> Date: Mon, 24 Aug 2009 21:27:57 +0300 X-Google-Sender-Auth: 0d59b3509737a809 Message-ID: <84144f020908241127vc8dafa4l340d000097cf5548@mail.gmail.com> Subject: Re: [PATCH 1/4] compcache: xvmalloc memory allocator From: Pekka Enberg To: ngupta@vflare.org Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-mm-cc@laptop.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 24, 2009 at 9:11 PM, Nitin Gupta wrote: >> Is the name rzmalloc() too similar to kzalloc() which stands for >> zeroing allocator, though? I think I suggested >> ramzswap_alloc()/ramzswap_free() in the past to avoid confusion. I'd >> rather go with that if we can't come up with a nice generic name that >> stands for alloc_part_of_page_including_highmem(). > > rzs_malloc()/rzs_free() ? I am not sure what we gain from the shorter and more cryptic "rzs" prefix compared to "ramzswap" but yeah, it's less likely to be confused with kzalloc() so I'm okay with that. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with SMTP id CCD886B0104 for ; Tue, 25 Aug 2009 20:41:25 -0400 (EDT) Received: by bwz24 with SMTP id 24so2298296bwz.38 for ; Tue, 25 Aug 2009 17:41:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4A92D7D4.7020807@vflare.org> References: <200908241007.47910.ngupta@vflare.org> <84144f020908241033l4af09e7h9caac47d8d9b7841@mail.gmail.com> <4A92D35F.50604@vflare.org> <84144f020908241108o4d9d6e38wba7806977b8b6073@mail.gmail.com> <4A92D7D4.7020807@vflare.org> Date: Mon, 24 Aug 2009 21:27:57 +0300 Message-ID: <84144f020908241127vc8dafa4l340d000097cf5548@mail.gmail.com> Subject: Re: [PATCH 1/4] compcache: xvmalloc memory allocator From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: ngupta@vflare.org Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-mm-cc@laptop.org List-ID: On Mon, Aug 24, 2009 at 9:11 PM, Nitin Gupta wrote: >> Is the name rzmalloc() too similar to kzalloc() which stands for >> zeroing allocator, though? I think I suggested >> ramzswap_alloc()/ramzswap_free() in the past to avoid confusion. I'd >> rather go with that if we can't come up with a nice generic name that >> stands for alloc_part_of_page_including_highmem(). > > rzs_malloc()/rzs_free() ? I am not sure what we gain from the shorter and more cryptic "rzs" prefix compared to "ramzswap" but yeah, it's less likely to be confused with kzalloc() so I'm okay with that. -- 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