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
F169012337: D3956.id11638.diff
Mon, Aug 31, 3:11 AM
F169002173: D3956.id9559.diff
Mon, Aug 31, 2:40 AM
F168958899: D3956.diff
Sun, Aug 30, 11:17 PM
Unknown Object (File)
Sun, Aug 30, 1:38 AM
Unknown Object (File)
Fri, Aug 28, 3:08 PM
Unknown Object (File)
Fri, Aug 28, 11:31 AM
Unknown Object (File)
Fri, Aug 28, 10:52 AM
Unknown Object (File)
Thu, Aug 27, 7:26 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.