Page MenuHomeFreeBSD

LinuxKPI: add umin()
ClosedPublic

Authored by bz on Jan 20 2026, 11:00 PM.
Tags
None
Referenced Files
F154276100: D54807.id.diff
Mon, Apr 27, 1:24 PM
Unknown Object (File)
Tue, Apr 21, 10:06 AM
Unknown Object (File)
Sun, Apr 19, 7:40 AM
Unknown Object (File)
Tue, Apr 7, 6:11 PM
Unknown Object (File)
Sun, Apr 5, 6:16 AM
Unknown Object (File)
Sat, Apr 4, 12:35 PM
Unknown Object (File)
Thu, Apr 2, 12:45 PM
Unknown Object (File)
Wed, Apr 1, 4:59 PM
Subscribers

Details

Summary

Add a version of umin() simply using MIN() assuming that the Linux
upstream code properly check that the arguments are unsigned, etc.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Test Plan

if anyone wants to implement a more sophisticated version
the next few days please let me know and be my guest.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70032
Build 66915: arc lint + arc unit