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, Oct 23, 2:28 PM
Unknown Object (File)
Thu, Oct 23, 6:58 AM
Unknown Object (File)
Wed, Oct 22, 1:18 PM
Unknown Object (File)
Sat, Oct 18, 4:20 AM
Unknown Object (File)
Wed, Oct 15, 11:32 AM
Unknown Object (File)
Wed, Oct 15, 11:32 AM
Unknown Object (File)
Wed, Oct 15, 11:32 AM
Unknown Object (File)
Wed, Oct 15, 11:32 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.