Re: [patch-2.3.40-pre6] kzalloc() (ala kmem_zalloc() of SVR4)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon Jan 24 2000 - 07:42:27 EST


Tigran Aivazian wrote:
> There are plenty of cases where it is used without __init. However, now
> that I hear Jeff's idea of GFP_ZERO flag to kmalloc() I agree that it is
> superiour. There is no need to invent (and export) a new function (with a
> funny name as well) where the old one will suffice. Also, it saves an
> extra function call.

>From the last discussion, I believe Jes if not others pointed out that
adding GFP_ZERO meant adding something new to a speed-critical path,
which might not be a good idea.

-- 
Jeff Garzik         | Andre the Giant has a posse.
Building 1024       |
MandrakeSoft, Inc.  |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:12 EST