Re: [ 84/95] virtio_blk: fix config handler race

2012-09-10 Thread Ben Hutchings
On Mon, 2012-09-10 at 11:56 +0930, Rusty Russell wrote:
> Ben Hutchings  writes:
> 
> > 3.2-stable review patch.  If anyone has any objections, please let me know.
> >
> > --
> >
> > From: "Michael S. Tsirkin" 
> >
> > commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
> >
> > Fix a theoretical race related to config work
> 
> ???
> 
> From Documentation/stable_kernel_rules.txt:
> 
>  - No "theoretical race condition" issues, unless an explanation of how the
>race can be exploited is also provided.
> 
> Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
> is a marginal perf improvement, why is it in there?
> 
> Neither of these were cc:stable; did someone request them specifically?

They weren't requested; I think I included them as apparent dependencies
of one or more of the others:

b79d866 virtio-blk: Fix hot-unplug race in remove method
02e2b12 virtio-blk: Call del_gendisk() before disable guest kick
483001c virtio-blk: Reset device after blk_cleanup_queue()

The last of those was cc'd to stable and the first two were applied in
3.5.2, thus I assume requested by someone.

Ben.

-- 
Ben Hutchings
Make three consecutive correct guesses and you will be considered an expert.


signature.asc
Description: This is a digitally signed message part


Re: [ 84/95] virtio_blk: fix config handler race

2012-09-10 Thread Ben Hutchings
On Mon, 2012-09-10 at 11:56 +0930, Rusty Russell wrote:
 Ben Hutchings b...@decadent.org.uk writes:
 
  3.2-stable review patch.  If anyone has any objections, please let me know.
 
  --
 
  From: Michael S. Tsirkin m...@redhat.com
 
  commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
 
  Fix a theoretical race related to config work
 
 ???
 
 From Documentation/stable_kernel_rules.txt:
 
  - No theoretical race condition issues, unless an explanation of how the
race can be exploited is also provided.
 
 Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
 is a marginal perf improvement, why is it in there?
 
 Neither of these were cc:stable; did someone request them specifically?

They weren't requested; I think I included them as apparent dependencies
of one or more of the others:

b79d866 virtio-blk: Fix hot-unplug race in remove method
02e2b12 virtio-blk: Call del_gendisk() before disable guest kick
483001c virtio-blk: Reset device after blk_cleanup_queue()

The last of those was cc'd to stable and the first two were applied in
3.5.2, thus I assume requested by someone.

Ben.

-- 
Ben Hutchings
Make three consecutive correct guesses and you will be considered an expert.


signature.asc
Description: This is a digitally signed message part


Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Asias He
On 09/10/2012 10:26 AM, Rusty Russell wrote:
> Ben Hutchings  writes:
> 
>> 3.2-stable review patch.  If anyone has any objections, please let me know.
>>
>> --
>>
>> From: "Michael S. Tsirkin" 
>>
>> commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
>>
>> Fix a theoretical race related to config work
> 
> ???
> 
> From Documentation/stable_kernel_rules.txt:
> 
>  - No "theoretical race condition" issues, unless an explanation of how the
>race can be exploited is also provided.
> 
> Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
> is a marginal perf improvement, why is it in there?

This also drops the following line which may trigger a BUG in hot
-unplug path.

   /* Nothing should be pending. */
   BUG_ON(!list_empty(>reqs));

So, this patch is needed to fix up the hot-unplug bug along with the others.

> 
> Neither of these were cc:stable; did someone request them specifically?
> 
> Confused,
> Rusty.
> 


-- 
Asias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Rusty Russell
Ben Hutchings  writes:

> 3.2-stable review patch.  If anyone has any objections, please let me know.
>
> --
>
> From: "Michael S. Tsirkin" 
>
> commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
>
> Fix a theoretical race related to config work

???

>From Documentation/stable_kernel_rules.txt:

 - No "theoretical race condition" issues, unless an explanation of how the
   race can be exploited is also provided.

Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
is a marginal perf improvement, why is it in there?

Neither of these were cc:stable; did someone request them specifically?

Confused,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Rusty Russell
Ben Hutchings b...@decadent.org.uk writes:

 3.2-stable review patch.  If anyone has any objections, please let me know.

 --

 From: Michael S. Tsirkin m...@redhat.com

 commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.

 Fix a theoretical race related to config work

???

From Documentation/stable_kernel_rules.txt:

 - No theoretical race condition issues, unless an explanation of how the
   race can be exploited is also provided.

Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
is a marginal perf improvement, why is it in there?

Neither of these were cc:stable; did someone request them specifically?

Confused,
Rusty.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Asias He
On 09/10/2012 10:26 AM, Rusty Russell wrote:
 Ben Hutchings b...@decadent.org.uk writes:
 
 3.2-stable review patch.  If anyone has any objections, please let me know.

 --

 From: Michael S. Tsirkin m...@redhat.com

 commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.

 Fix a theoretical race related to config work
 
 ???
 
 From Documentation/stable_kernel_rules.txt:
 
  - No theoretical race condition issues, unless an explanation of how the
race can be exploited is also provided.
 
 Similarly, '[ 85/95] virtio_blk: Drop unused request tracking list'
 is a marginal perf improvement, why is it in there?

This also drops the following line which may trigger a BUG in hot
-unplug path.

   /* Nothing should be pending. */
   BUG_ON(!list_empty(vblk-reqs));

So, this patch is needed to fix up the hot-unplug bug along with the others.

 
 Neither of these were cc:stable; did someone request them specifically?
 
 Confused,
 Rusty.
 


-- 
Asias
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/