Re: Possible race at user mode helper in request_firmware

2016-03-19 Thread Chandra Sekhar Lingutla
Hi Ming, On 03/16/2016 03:55 PM, Ming Lei wrote: On Wed, 16 Mar 2016 15:21:24 +0530 Chandra Sekhar Lingutla wrote: Hi Ming, On 03/16/2016 02:34 PM, Chandra Sekhar Lingutla wrote: On 03/16/2016 02:28 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla wrote: On 03

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, 16 Mar 2016 15:21:24 +0530 Chandra Sekhar Lingutla wrote: > Hi Ming, > > On 03/16/2016 02:34 PM, Chandra Sekhar Lingutla wrote: > > On 03/16/2016 02:28 PM, Ming Lei wrote: > >> On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla > >> wrote: > >>> On 03/16/2016 02:12 PM, Ming Lei wr

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Chandra Sekhar Lingutla
Hi Ming, On 03/16/2016 02:34 PM, Chandra Sekhar Lingutla wrote: On 03/16/2016 02:28 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla wrote: On 03/16/2016 02:12 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: Hi Ming, On 03

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Chandra Sekhar Lingutla
On 03/16/2016 02:28 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla wrote: On 03/16/2016 02:12 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: Hi Ming, On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:0

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla wrote: > On 03/16/2016 02:12 PM, Ming Lei wrote: >> >> On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla >> wrote: >>> >>> Hi Ming, >>> >>> >>> On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:09 PM,

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Chandra Sekhar Lingutla
On 03/16/2016 02:12 PM, Ming Lei wrote: On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: Hi Ming, On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: Hi, On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible race in _requ

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: > Hi Ming, > > > On 03/16/2016 07:36 AM, Ming Lei wrote: >> >> On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: >>> >>> Hi, >>> >>> On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible race in _request

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
Hi Chandra, On Wed, Mar 16, 2016 at 3:02 PM, Chandra Sekhar Lingutla wrote: > Hi Ming, > > > On 03/16/2016 07:36 AM, Ming Lei wrote: >> >> On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: >>> >>> Hi, >>> >>> On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible rac

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Chandra Sekhar Lingutla
Hi Ming, On 03/16/2016 07:36 AM, Ming Lei wrote: On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: Hi, On Mon, Mar 14, 2016 at 8:00 PM, wrote: Hello, I see possible race in _request_firmware_load function, on which I wanted to take your opinion. When system is going to low power mode, de

Re: Possible race at user mode helper in request_firmware

2016-03-15 Thread Ming Lei
On Tue, Mar 15, 2016 at 11:09 PM, Ming Lei wrote: > Hi, > > On Mon, Mar 14, 2016 at 8:00 PM, wrote: >> Hello, >> >> I see possible race in _request_firmware_load function, on which I wanted to >> take your opinion. >> >> When system is going to low power mode, device_cache_fw_images() is called

Re: Possible race at user mode helper in request_firmware

2016-03-15 Thread Ming Lei
Hi, On Mon, Mar 14, 2016 at 8:00 PM, wrote: > Hello, > > I see possible race in _request_firmware_load function, on which I wanted to > take your opinion. > > When system is going to low power mode, device_cache_fw_images() is called > from pm notifier which schedules asynchronous workers to cac

Possible race at user mode helper in request_firmware

2016-03-14 Thread clingutla
Hello, I see possible race in _request_firmware_load function, on which I wanted to take your opinion. When system is going to low power mode, device_cache_fw_images() is called from pm notifier which schedules async workers to cache devices firmware. If more than 2 async requests falls unde