Skip to content

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented May 12, 2020

No description provided.

@pitrou
Copy link
Member Author

pitrou commented May 12, 2020

@kiszk You might check this.

@github-actions
Copy link

@pitrou
Copy link
Member Author

pitrou commented May 12, 2020

Well, the ARM and s390x tests succeeded at least.

@kiszk
Copy link
Member

kiszk commented May 12, 2020

Let me run on ppc64.

@kiszk
Copy link
Member

kiszk commented May 12, 2020

Succeeded on ppc64 (big-endian), too.

[----------] 1 test from GetPageSize
[ RUN      ] GetPageSize.Basics
[       OK ] GetPageSize.Basics (0 ms)
[----------] 1 test from GetPageSize (0 ms total)

@kiszk
Copy link
Member

kiszk commented May 12, 2020

LGTM

errno = 0;
const auto ret = sysconf(_SC_PAGESIZE);
if (ret == -1) {
ARROW_LOG(FATAL) << "sysconf(_SC_PAGESIZE) failed: " << ErrnoMessage(errno);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just return 4k?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather know in which conditions this syscall fails (it should never).

@pitrou pitrou deleted the ARROW-7910-page-size branch May 12, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants