tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some minor improvements to select/poll



Hi Joerg,

On Wed, Nov 20, 2019 at 11:14:32PM +0100, Joerg Sonnenberger wrote:
> On Wed, Nov 20, 2019 at 09:38:56PM +0000, Andrew Doran wrote:
> > (1) Increase the maximum number of clusters from 32 to 64 for large systems.
> >     kcpuset_t could potentially be used here but that's an excursion I don't
> >     want to go on right now.  uint32_t -> uint64_t is very simple.
> 
> Careful about alignment here. There is hidden padding on ILP32 with
> 64bit alignment for uint64_t.

Good catch.  Probably better to take the hit, bump the version and make sure
the alignment is safe.

Cheers,
Andrew


Home | Main Index | Thread Index | Old Index