mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nitin Gupta <ngupta@vflare.org>
To: Ajeet Yadav <ajeet.yadav.77@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xvmalloc: total_pages can be ulong
Date: Thu, 29 Dec 2011 08:58:29 -0500	[thread overview]
Message-ID: <4EFC7205.6000801@vflare.org> (raw)
In-Reply-To: <CAB4K4y4UWXXb8Tm_arYG7=_MOyMxJnk3jRLGbaXTyFiNKM-TOw@mail.gmail.com>

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

  reply	other threads:[~2011-12-29 13:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28  5:50 Ajeet Yadav
2011-12-29 13:58 ` Nitin Gupta [this message]
2011-12-30  4:51   ` Ajeet Yadav
2012-02-09  1:11 ` Greg KH
2012-02-10 10:21   ` Ajeet Yadav
2012-02-10 13:58   ` Nitin Gupta
2012-02-11  6:43     ` Ajeet Yadav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EFC7205.6000801@vflare.org \
    --to=ngupta@vflare.org \
    --cc=ajeet.yadav.77@gmail.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome