To match Linux and allow direct linux/minmax.h inclusion.
Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week
Paths
| Differential D45449 Authored by wulf on Jun 2 2024, 3:27 PM.
Details Summary To match Linux and allow direct linux/minmax.h inclusion. Sponsored by: Serenity Cyber Security, LLC
Diff Detail
Event TimelineHerald added subscribers: linuxkpi, imp. · View Herald TranscriptJun 2 2024, 3:27 PM2024-06-02 15:27:27 (UTC+0) Harbormaster completed remote builds in B58002: Diff 139327.Jun 2 2024, 3:27 PM2024-06-02 15:27:27 (UTC+0) bz added inline comments.
This revision now requires changes to proceed.Jun 2 2024, 3:42 PM2024-06-02 15:42:30 (UTC+0) Comment Actions Add Melanox and François to authors Keep iX Systems and Panasas as origin of some macroses e.g. min & max may be Move clamp in to clamp group to preserve traditional FreeBSD order of macros Harbormaster completed remote builds in B58017: Diff 139355.Jun 3 2024, 3:51 PM2024-06-03 15:51:54 (UTC+0) This revision is now accepted and ready to land.Jun 3 2024, 9:00 PM2024-06-03 21:00:27 (UTC+0) Closed by commit rGf79474c4e3ee: LinuxKPI: Move linux/minmax.h content out of linux/kernel.h (authored by wulf). · Explain WhyJun 6 2024, 8:43 PM2024-06-06 20:43:35 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 139603 sys/compat/linuxkpi/common/include/linux/kernel.h
sys/compat/linuxkpi/common/include/linux/minmax.h
|
This comment applies only to amd64 now. riscv and arm64 allocate trampolines at probe creation time. If that fails, an error can be signaled to libdtrace, and the user will get a nice error message.
In other words, I think there is no need to log anything on !amd64 if trampoline allocation fails.