Log, or optionally panic, on zero-length kmem allocations
Joyent bug OS-4297 implements a tracking of zero-length kmem allocations in the kernel. We generally want to discourage these.
Additional fixes to that are needed, and are filed-but-not-fixed as Joyent bug OS-8018. This upstream-it bug should contain both.
Updated by Dan McDonald 10 months ago
This is actually three SmartOS bugs, OS-4194 (initial change with cleanups), OS-8018 (not yet fixed), AND OS-4297 (reduction to log-only in DEBUG by default, vs. panic).
These fixes have been in SmartOS since August of 2015.
Author: Bryan Cantrill <firstname.lastname@example.org>
AuthorDate: Fri Jul 31 07:14:02 2015 +0000
Commit: Bryan Cantrill <email@example.com>
CommitDate: Fri Jul 31 07:14:02 2015 +0000
OS-4297 zero-sized allocations should be logged but not warned about
Updated by Electric Monk 10 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit d15801816cc716b56ada92df72ee04b7b891291c Author: Bryan Cantrill <firstname.lastname@example.org> Date: 2019-11-21T15:57:15.000Z 11927 Log, or optionally panic, on zero-length kmem allocations Reviewed by: Dan McDonald <email@example.com> Reviewed by: Jason King <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>