Re: [PULL] http://linuxtv.org/hg/~mcisely/pvrusb2-patches

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

 



Mike Isely wrote:
> On Fri, 21 May 2010, Mauro Carvalho Chehab wrote:
> 
>> Mike Isely wrote:
>>> On Fri, 21 May 2010, Mauro Carvalho Chehab wrote:
>>>
>>>> Mike Isely wrote:
>>>>> Mauro:
>>>>>
>>>>> You are reading too much into that comment.
>>>>>
>>>>> I never said it was valid to do what had been done, only that for the 
>>>>> longest time this is what the driver did and it never caused a problem 
>>>>> that I was made aware of.  What I said there was correct, that this is 
>>>>> what the driver had been doing in the past, that it's definitely causing 
>>>>> a problem now and thus that is why this patch exists.
>>>> As I said, this is not right:
>>>> 	"Apparently later kernels don't like this behavior"
>>> Mauro:
>>>
>>> That statement was in reference to the fact that previously the problem 
>>> had gone undetected, but now later kernels can notice and complain about 
>>> this, thus "later kernels don't like this behavior".
>>>
>>> We can debate that perhaps the statement can be worded better, but that 
>>> doesn't make it *wrong*.
>>>
>> Calling 2.6.12 kernel as "later kernels" doesn't seem right to me (that was
>> about the kernel were em28xx driver were introduced).
> 
> The point when the em28xx driver appeared has nothing to do with this.
> 
> The point when the kernel started complaining about the use of a stack 
> based USB I/O buffers is the relevant point, which was not back in 
> 2.6.12.  I learned of this behavior (that is, receiving warnings about 
> the usage) as being new in the 2.6.34 timeframe, the point when a user 
> pointed out the complaint message in his kernel log; at that time I had 
> not yet tested against that kernel version.

Older kernels also complain if the stack were actually out of the
DMA range and you try to program DMA there. Yet, only now we've seen
consumer PC's with lots of RAM.

> Leave it as is.  What's done is done.  Your replaced comment is of 
> course still correct. I would just appreciate some better sensitivity 
> in the future about replacing authors' comments, especially since in 
> this case your interpretation of my original comment was wrong.

Ok.

-- 

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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux