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

Jeff Garzik jgarzik en mandrakesoft.com
Lun Ene 24 12:02:14 CST 2000


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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda