Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 78086 Build 74969: arc lint + arc unit
Event Timeline
| sys/kern/kern_thread.c | ||
|---|---|---|
| 108 | IMO there can be a distinction between the guarantees we want to make to FreeBSD users, and what we want to identify as committers. I'm fine with having these assertions fire on arm and having that prompt an explicit decision, or at least being able to provide a heads-up about a KBI break. | |
| sys/kern/kern_thread.c | ||
|---|---|---|
| 108 | Note we didn't drop them when i386 went to tier 2, and we don't have any assertions for arm64 which is tier 1. I viewed it more as a sample 64-bit and 32-bit? | |
| sys/sys/user.h | ||
| 342 | But we won't compile the static assertions which are part of the kernel (and which are the only place this constant is used). This change ensures we still have a compile time check that these sizes don't change. | |
| sys/kern/kern_thread.c | ||
|---|---|---|
| 108 | Yes, that's what I meant by "sample", though that phrasing is probably obscure. I meant that if we want assertions for a 32-bit platform at all, it has to be armv7 at this point. | |
| sys/sys/user.h | ||
| 342 | We can do that, but in that case we still will want these on for 32-bit arm so that the assertions in the kernel are checked. Possibly we should just define these always and verify the assertions on all architectures? | |
| sys/sys/user.h | ||
|---|---|---|
| 342 | I pondered this quite long after the initial conversation, and I have two thought, one almost trivial, another might be more controversial.
Checking the size for compat32 kinfo_file perhaps requires compiling some throw-away object with -m32. | |