[Bug 210015] page allocation failure in usb_hub_wq hub_event when adding HID device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=210015

Benjamin Tissoires (benjamin.tissoires@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin.tissoires@xxxxxxxx
                   |                            |m

--- Comment #2 from Benjamin Tissoires (benjamin.tissoires@xxxxxxxxx) ---
> Unless the memory allocated by the hid driver needs to be physically
> contiguous, it should use kvmalloc(_array) instead of kmalloc(_array) (and
> kvfree instead of kfree) where it can be larger than a single page.

hmm, that is a good lead. I'll have to double check but I don't think the
allocated memory should be that big. I am worried that using kvmalloc would
paper over an other problem and we'll eat up all the memory by just plugging a
keyboard...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux