Re: [PATCH 10/20] target: Free session objects after associated commands have finished

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

 



On Tue, Oct 13, 2015 at 08:21:56AM -0700, Bart Van Assche wrote:
> >Shouldn't this be a single uninterruptible wait?
> 
> Uninterruptible waits show up in the CPU load which is what I wanted to
> avoid. This can indeed be changed into a single uninterruptible wait. Do you
> perhaps prefer the latter ?

I don't think this hack is worth it just to optimize the load avg
calculation.  If you really are about it deeply enough propose a change
to add a new task state that isn't interruptible but still doesn't
count towards the load avg.  Wait, isn't io_schedule() doing just that?
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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