On 9/22/06, Paulo Marques <[email protected]> wrote:
Agreed on every comment except this one. That complex expression is really just a constant in the end, so there is no point in using kcalloc.
The code is arguably easier to read with kcalloc. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: Paulo Marques <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- References:
- kmalloc to kzalloc patches for drivers/block [sane version]
- From: "Om Narasimhan" <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: Nishanth Aravamudan <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: "Om Narasimhan" <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: "Om Narasimhan" <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: Jiri Slaby <[email protected]>
- Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- From: Paulo Marques <[email protected]>
- kmalloc to kzalloc patches for drivers/block [sane version]
- Prev by Date: Re: 2.6.1[78] page allocation failure. order:3, mode:0x20
- Next by Date: Re: 2.6.18-rt1
- Previous by thread: Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- Next by thread: Re: [KJ] kmalloc to kzalloc patches for drivers/block [sane version]
- Index(es):