Re: epoll_wait returning EFAULT on Linux 3.2.78

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: epoll_wait returning EFAULT on Linux 3.2.78
Date: 2016-06-02 17:02:56
Message-ID: 26245.1464886976@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark <stark(at)mit(dot)edu> writes:
> So FYI, it does look like Postgres built in 32-bit mode, at least
> pointers are 32 bits. But I think maxalign might still be enough due
> to doubles being 64 bits.

OK, let's just maxalign all the components of the WaitEventSet struct
and call it good, at least till we find out differently. Andres,
do you want to do that?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-06-02 17:04:34 Re: epoll_wait returning EFAULT on Linux 3.2.78
Previous Message Tomas Vondra 2016-06-02 17:01:04 Re: pg9.6 segfault using simple query (related to use fk for join estimates)