# Re: \[PATCH for v5.11 11/12\] iwlwifi: pcie: use jiffies for memory read spin time limit

- From: Kalle Valo \<hidden\>
- Date: 2021-01-18 15:19:35 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/01/15765552
- Thread: https://ratatoskr.run/linux-wireless/2021/01/15765490/t.md

```text
Kalle Valo [ref] writes:

> Luca Coelho [ref] writes:
>
>> From: Johannes Berg <redacted>
>>
>> There's no reason to use ktime_get() since we don't need any better
>> precision than jiffies, and since we no longer disable interrupts
>> around this code (when grabbing NIC access), jiffies will work fine.
>> Use jiffies instead of ktime_get().
>>
>> Signed-off-by: Johannes Berg <redacted>
>> Signed-off-by: Luca Coelho <redacted>
>
> What bug does this fix? After reading the commit log to me this looks
> like more like cleanup and is better for -next.

Ah, this is a dependency for patch 12. I'll mention this in the commit
log, but please correct me if I have misunderstood.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
```
