Am Sonntag, 11. Januar 2004 01:23 schrieb Matthew Dharm:
> Where is USB kmalloc'ing with GFP_KERNEL?  I thought we tracked all those
> down and eliminated them.
> 

static int ohci_mem_init (struct ohci *ohci)
{
        ohci->td_cache = pci_pool_create ("ohci_td", ohci->ohci_dev,
                sizeof (struct td),
                32 /* byte alignment */,
                0 /* no page-crossing issues */,
                GFP_KERNEL | OHCI_MEM_FLAGS);
        if (!ohci->td_cache)
                return -ENOMEM;
        ohci->dev_cache = pci_pool_create ("ohci_dev", ohci->ohci_dev,
                sizeof (struct ohci_device),
                16 /* byte alignment */,
                0 /* no page-crossing issues */,
                GFP_KERNEL | OHCI_MEM_FLAGS);
        if (!ohci->dev_cache)
                return -ENOMEM;
        return 0;
}

This one here looks dangerous.

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to