]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: support Linux x32 ABI
authorEric Wong <e@yhbt.net>
Thu, 6 Feb 2020 08:49:36 +0000 (08:49 +0000)
committerEric Wong <e@yhbt.net>
Fri, 7 Feb 2020 07:19:59 +0000 (01:19 -0600)
commit17e52476687e03fecd579f765ad6864cde0f4203
tree21b9dffb7048d602f64c47e247068686ff116e36
parent95bdac7f09c69036efed537a4d03d5bdd2ae4eb6
syscall: support Linux x32 ABI

The x32 ABI allows users to take advantage of the extra
registers on x86-64 without the bloat of 64-bit pointers and
longs.

This ought to be significant since Perl was designed when 32-bit
was prevalent; and the common structs for ops, hashes, scalars,
and arrays use longs (SSize_t/Size_t) for things which should
never need 64-bits when processing emails.

Debian's x32 port seems to work quite nicely under a chroot
on an amd64 Linux system.  All tests pass under x32, now.
MANIFEST
lib/PublicInbox/Syscall.pm
t/epoll.t [new file with mode: 0644]