Page MenuHomeFreeBSD

LinuxKPI: add umin()
ClosedPublic

Authored by bz on Jan 20 2026, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 26, 7:30 PM
Unknown Object (File)
Sun, Feb 22, 12:08 AM
Unknown Object (File)
Fri, Feb 20, 12:05 AM
Unknown Object (File)
Sun, Feb 8, 10:42 AM
Unknown Object (File)
Sat, Feb 7, 7:03 PM
Unknown Object (File)
Feb 3 2026, 8:13 AM
Unknown Object (File)
Feb 2 2026, 2:01 AM
Unknown Object (File)
Jan 30 2026, 10:38 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 Not Applicable
Unit
Tests Not Applicable