Page MenuHomeFreeBSD

linuxkpi: Add WARN_RATELIMIT()
ClosedPublic

Authored by dumbbell on Jan 4 2026, 10:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 1:40 PM
Unknown Object (File)
Tue, Apr 21, 10:53 AM
Unknown Object (File)
Tue, Apr 21, 5:33 AM
Unknown Object (File)
Tue, Apr 21, 12:26 AM
Unknown Object (File)
Mon, Apr 20, 9:22 AM
Unknown Object (File)
Mon, Apr 20, 6:45 AM
Unknown Object (File)
Wed, Apr 15, 3:52 AM
Unknown Object (File)
Wed, Apr 8, 12:33 AM
Subscribers

Details

Summary

The i915 DRM driver started to use it in Linux 6.10.

This is part of the update of DRM drivers to Linux 6.10.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bz requested changes to this revision.Jan 4 2026, 9:08 PM
bz added a subscriber: bz.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/kernel.h
262

This feels like it belongs into ratelimit.h. If not then it could be implemented ratelimiting. We do have pr_warn_ratelimited()

This revision now requires changes to proceed.Jan 4 2026, 9:08 PM
dumbbell added inline comments.
sys/compat/linuxkpi/common/include/linux/kernel.h
262

You are right, this was the wrong header. This is now fixed.

I also used pr_warn_ratelimited().

dumbbell marked an inline comment as done.
dumbbell retitled this revision from linuxkpi: Define WARN_RATELIMIT() as a synonym to WARN() to linuxkpi: Add WARN_RATELIMIT().
This revision is now accepted and ready to land.Jan 6 2026, 12:12 AM
This revision was automatically updated to reflect the committed changes.