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)
Sat, Dec 21, 11:08 AM
Unknown Object (File)
Dec 7 2024, 8:15 PM
Unknown Object (File)
Nov 28 2024, 9:33 PM
Unknown Object (File)
Nov 17 2024, 4:46 AM
Unknown Object (File)
Nov 6 2024, 2:22 PM
Unknown Object (File)
Nov 4 2024, 4:22 AM
Unknown Object (File)
Nov 4 2024, 4:22 AM
Unknown Object (File)
Nov 4 2024, 4:03 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 Passed
Unit
No Test Coverage
Build Status
Buildable 59659
Build 56546: arc lint + arc unit

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.