Messages in this thread | | | Subject | Re: Is this code right in zram? | From | Joe Perches <> | Date | Mon, 04 Jun 2012 05:33:56 -0700 |
| |
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.
| |