lkml.org 
[lkml]   [2013]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] virtio-scsi: reset virtqueue affinity when doing cpu hotplug
    Il 16/01/2013 04:55, Wanlong Gao ha scritto:
    >>> >> Add hot cpu notifier to reset the request virtqueue affinity
    >>> >> when doing cpu hotplug.
    >> >
    >> > You need to be careful to get_online_cpus() and put_online_cpus() here,
    >> > so CPUs can't go up and down in the middle of operations.
    >> >
    >> > In particular, get_online_cpus()/put_online_cpus() around calls to
    >> > virtscsi_set_affinity() (except within notifiers).
    > Yes, I'll take care of this, thank you.
    >

    I squashed patch 1 (plus changes to get/put_online_cpus) in my
    multiqueue series, and applied this one as a separate patch.

    Paolo


    \
     
     \ /
      Last update: 2013-02-06 23:23    [W:2.965 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site