Re: [PATCH v10 2/5] io-uring: add napi busy poll support

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

 



On 4/27/23 10:27?AM, Stefan Roesch wrote:
>>> +	if (timespec64_compare(ts, &pollto) > 0) {
>>> +		*ts = timespec64_sub(*ts, pollto);
>>> +		*new_poll_to = poll_to;
>>> +	} else {
>>> +		u64 to = timespec64_to_ns(ts);
>>> +
>>> +		do_div(to, 1000);
>>
>> Is this going to complain on 32-bit?
>>
> 
> My understanding is this should work on 32-bit.

Yeah seems fine, I ended up double checking it too.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux