Re: [PATCH 1/2] block: move __get_task_ioprio() into header file

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

 



On 1/8/24 12:24 PM, Bart Van Assche wrote:
> On 1/8/24 10:59, Jens Axboe wrote:
>> We call this once per IO, which can be millions of times per second.
>> Since nobody really uses io priorities, or at least it isn't very
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> We have plans to set an I/O priority for most Android processes in the
> near future. According to what Damien wrote on linux-block, there is
> probably a significant number of hard disks for which I/O priority is
> configured.

The rates at which Android does IO means this won't really make any
difference, should probably have qualified the statement with "nobody
uses io priorities and does fast IO".

>> common, this is all wasted time and can amount to as much as 3% of
>> the total kernel time.
> 
> Anyway:
> 
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>

Thanks!

-- 
Jens Axboe





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux