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)
Wed, Aug 19, 4:00 PM
Unknown Object (File)
Wed, Aug 19, 3:57 PM
Unknown Object (File)
Tue, Aug 18, 7:37 PM
Unknown Object (File)
Fri, Aug 14, 5:18 PM
Unknown Object (File)
Thu, Aug 13, 1:11 PM
Unknown Object (File)
Wed, Aug 12, 6:23 PM
Unknown Object (File)
Wed, Aug 12, 1:32 PM
Unknown Object (File)
Wed, Aug 12, 1:13 PM
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.