Page MenuHomeFreeBSD

Increase the size of jmp_buf from 33 64-bit values to 32 128-bit ones.
ClosedPublic

Authored by brooks on Oct 21 2015, 12:50 AM.
Tags
None
Referenced Files
F170053580: D3956.diff
Thu, Sep 3, 9:19 AM
Unknown Object (File)
Wed, Sep 2, 1:37 PM
Unknown Object (File)
Tue, Sep 1, 7:21 AM
Unknown Object (File)
Mon, Aug 31, 1:21 PM
Unknown Object (File)
Mon, Aug 31, 3:11 AM
Unknown Object (File)
Mon, Aug 31, 2:40 AM
Unknown Object (File)
Sun, Aug 30, 11:17 PM
Unknown Object (File)
Sun, Aug 30, 1:38 AM
Subscribers

Details

Summary

This will allow support for possible future CPU extentions with larger
registers.

jmp_buf's size and alignment are baked into the ABI of third party
libraries and thus are very hard to change later so it is best to waste a
small amount of space now.

Test Plan

Someone with hardware should make sure this works.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

brooks retitled this revision from to Increase the size of jmp_buf from 33 64-bit values to 32 128-bit ones..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: emaste, andrew.
andrew edited edge metadata.

I don't see any ABI issues with increasing it's size and alignment.

This revision is now accepted and ready to land.Oct 22 2015, 5:11 PM
This revision was automatically updated to reflect the committed changes.