Re: question on comment in usb_device_poll()

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

 



On Tue, 12 Jan 2010, Oliver Neukum wrote:

> Hi,
> 
> what does this comment refer to?
> 
> 		/*
> 		 * need to prevent the module from being unloaded, since
> 		 * proc_unregister does not call the release method and
> 		 * we would have a memory leak
> 		 */
> 
> Is "the module" referred to here usbcore?

Probably, since the proc_unregister() apparently refers to 
unregistering /proc/bus/usb/devices.  This must go way back to the 2.0 
days.  You should try asking Thomas Sailer; the comments at the top of 
the file indicate that he wrote the poll() method.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux