[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1338813236.8574.6.camel@joe2Laptop>
Date: Mon, 04 Jun 2012 05:33:56 -0700
From: Joe Perches <joe@...ches.com>
To: Jerome Marchand <jmarchan@...hat.com>
Cc: John Moser <john.r.moser@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Is this code right in zram?
On Mon, 2012-06-04 at 14:08 +0200, Jerome Marchand wrote:
> It probably doesn't matter much.
Likely true.
> Apparently kcalloc() never got a lot
> of success and kzalloc(sizeof(foo) * num_foos) type of allocation are
> more popular.
Likely false, especially in new code.
If you did greps, perhaps you are including the
k.alloc(sizeof(*foo), GFP)
forms in your uses multiply counts.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists