[rds-devel] [PATCH v4 1/2] RDS: memory allocated must be align to 8

David Miller davem at davemloft.net
Fri Apr 8 13:10:55 PDT 2016


From: santosh shilimkar <santosh.shilimkar at oracle.com>
Date: Fri, 8 Apr 2016 12:44:39 -0700

> On 4/7/2016 4:57 AM, Shamir Rabinovitch wrote:
>> Fix issue in 'rds_ib_cong_recv' when accessing unaligned memory
>> allocated by 'rds_page_remainder_alloc' using uint64_t pointer.
>>
> Sorry I still didn't follow this change still. What exactly is the
> problem.

You can't stop the offset at non-8byte intervals, because the chunks
being used in these arenas can have 64-bit values in it, which must be
8-byte aligned.

It looks extremely obvious to me.



More information about the rds-devel mailing list