Page MenuHomeFreeBSD

LinuxKPI: add time_is_before_jiffies()
ClosedPublic

Authored by bz on Sep 29 2024, 12:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 10:35 PM
Unknown Object (File)
Sun, Mar 22, 7:15 AM
Unknown Object (File)
Sun, Mar 22, 1:00 AM
Unknown Object (File)
Sat, Mar 21, 8:57 PM
Unknown Object (File)
Fri, Mar 20, 11:08 AM
Unknown Object (File)
Fri, Mar 20, 8:49 AM
Unknown Object (File)
Thu, Mar 19, 8:43 PM
Unknown Object (File)
Wed, Mar 18, 2:28 AM
Subscribers

Details

Summary

Add time_is_before_jiffies() as needed by iwlwifi from v6.11.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Sep 29 2024, 12:58 AM

OK. Would time_before(a, jiffies) be more clear though?

This revision is now accepted and ready to land.Sep 30 2024, 2:55 PM

OK. Would time_before(a, jiffies) be more clear though?

I can do that; given time_before just expands to time_after(b, a) I had jumped that step. But you may be right, we have the tools; let's make this more human mind understandable. I'll switch it.

Use time_before instead of time_after as suggested by @emaste.

This revision now requires review to proceed.Sep 30 2024, 7:42 PM
This revision is now accepted and ready to land.Oct 11 2024, 2:33 PM
This revision was automatically updated to reflect the committed changes.