lkml.org 
[lkml]   [2011]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] xvmalloc: total_pages can be ulong
From
Hi Nitin,

I wish if I could somehow know your plans for next release, so that I
can schedule my work accordingly, else my work on zram will be total
waste of my time making patches and your time replying and reviewing
it. Finally I have decided to delete my zram git.

Thanks and wishes for new year in advance.

On Thu, Dec 29, 2011 at 7:28 PM, Nitin Gupta <ngupta@vflare.org> wrote:
> Hi Ajeet,
>
> On 12/28/2011 12:50 AM, Ajeet Yadav wrote:
>
>> From 4763266cb0077d1082d4a1ef941448e9b4eb55ca Mon Sep 17 00:00:00 2001
>> From: Ajeet Yadav <ajeet.yadav.77@gmail.com>
>> Date: Wed, 28 Dec 2011 11:08:34 +0530
>> Subject: [PATCH] xvmalloc: total_pages can be ulong
>>
>> total_pages is u64, its too large value considering
>> that its in page unit on both 32-bit and 64-bit system
>> , therefore make it ulong.
>>
>> Having done that we can use normal ++ and -- operators
>> instead of stat_inc() and stat_dec(), therefore
>> remove these functions as well.
>>
>
>
> I'm soon going to send patches which replace xvmalloc with a new allocator.
>
> Thanks,
> Nitin


\
 
 \ /
  Last update: 2011-12-30 05:55    [W:0.200 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site