12 Mar
2002
12 Mar
'02
10:31
There's an additional question here. The new code will not deadlock, but a USB error could occur, if kmalloc fails. Is this acceptable ?
Doesn't sound acceptable. USB needs a reserved pool to handle stuff like this, _NOIO allocations are not reliable in the same sense that GFP_KERNEL allocations are. pktcdvd goes to great lengths to assure deadlock free allocations during I/O.
Are there other scsi drivers who need to allocate memory to process a request ? How do they solve the problem ? Regards Oliver