Messages in this thread | | | Date | Mon, 24 Jan 2000 07:42:27 -0500 | From | Jeff Garzik <> | Subject | Re: [patch-2.3.40-pre6] kzalloc() (ala kmem_zalloc() of SVR4) |
| |
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/
| |