Re: Does pci_alloc_consisent really need to zero memory?

Pavel Machek (pavel@ucw.cz)
Mon, 3 Jun 2002 18:45:17 +0200


Hi!

> >pci_alloc_consistent is so rare, I doubt it [clearing the memory it
> >returns] matters performance wise.
>
> In my efforts to port almost all of the scsi drivers to your
> DMA-mapping interface, I have converted some kmalloc's that
> are frequently called with pci_alloc_consistent (I have not

...

maybe invent __pci_alloc_consistent which does no zeroing?
Pavel

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/