Re: [PATCH] scsi: target: Avoid smp_processor_id() in preemptible code

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

 



On 5/13/21 11:03 AM, Bart Van Assche wrote:
> On 5/13/21 8:36 AM, Mike Christie wrote:
>> Is there something else that's used normally? raw_smp_processor_id?
> 
> +1 for raw_smp_processor_id() since my understanding is that
> SCF_USE_CPUID is a performance optimization only and correctness of the
> target code is not affected if the running thread is moved to another
> CPU core by the scheduler.
> 

Ok.

Shin'ichiro if we all are in agreement then I made the same mistake in
iblock_plug_device. I can send a patch for that, or if you want to get
your patch commit count up, feel free to when you resend this patch.




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux