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

- From: Luca Coelho \<hidden\>
- Date: 2021-01-18 15:53:17 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/01/15765554
- Thread: https://ratatoskr.run/linux-wireless/2021/01/15765490/t.md

```text
On Mon, 2021-01-18 at 17:18 +0200, Kalle Valo wrote:
> 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.

Yes, you're right! It's a dependency and I thought it would be simpler
and cause less conflicts if I just took it too instead of sending them
via different trees.

--
Cheers,
Luca.

```
