On Tue, Nov 13, 2018 at 9:43 AM Emil Velikov wrote:
>
> Hi Matt,
>
> On Mon, 12 Nov 2018 at 21:26, Matt Turner wrote:
> >
> > Prior to this patch sizeof(linear_header) was 20 bytes in a
> > non-debug build on 32-bit platforms. We do some pointer arithmetic to
> > calculate the next available
Hi Matt,
On Mon, 12 Nov 2018 at 21:26, Matt Turner wrote:
>
> Prior to this patch sizeof(linear_header) was 20 bytes in a
> non-debug build on 32-bit platforms. We do some pointer arithmetic to
> calculate the next available location with
>
>ptr = (linear_size_chunk *)((char *)[1] +
Wt., 13 lis 2018, 06:03: Matt Turner napisaĆ(a):
> On Mon, Nov 12, 2018 at 3:07 PM Eric Anholt wrote:
> >
> > Matt Turner writes:
> >
> > > Prior to this patch sizeof(linear_header) was 20 bytes in a
> > > non-debug build on 32-bit platforms. We do some pointer arithmetic to
> > > calculate
On Mon, Nov 12, 2018 at 3:07 PM Eric Anholt wrote:
>
> Matt Turner writes:
>
> > Prior to this patch sizeof(linear_header) was 20 bytes in a
> > non-debug build on 32-bit platforms. We do some pointer arithmetic to
> > calculate the next available location with
> >
> >ptr =
Matt Turner writes:
> Prior to this patch sizeof(linear_header) was 20 bytes in a
> non-debug build on 32-bit platforms. We do some pointer arithmetic to
> calculate the next available location with
>
>ptr = (linear_size_chunk *)((char *)[1] + latest->offset);
>
> in linear_alloc_child().
Prior to this patch sizeof(linear_header) was 20 bytes in a
non-debug build on 32-bit platforms. We do some pointer arithmetic to
calculate the next available location with
ptr = (linear_size_chunk *)((char *)[1] + latest->offset);
in linear_alloc_child(). The [1] adds 20 bytes, so an