Re: [PATCH] Export symbol ksize()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-02-16 at 14:56 +0100, Johannes Weiner wrote:
>> One problem is that zeroing ksize()
>> bytes can have an overhead of nearly twice the actual allocation size.

On Mon, Feb 16, 2009 at 6:32 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> A possible good thing is when linux has a
> mechanism to use known zeroed memory in
> kzalloc or kcalloc, it's already good to go.

Hmm, kzfree() is not going to be all that common operation so there
won't be that many known zeroed regions and I suspect tracking them
will have more overhead than just doing the memset().
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux