Re: [PATCH v2 2/2] mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)
From: cl
Date: Tue Sep 24 2019 - 16:55:04 EST
n Tue, 24 Sep 2019, Matthew Wilcox wrote:
> > There was a public discussion about this issue and from what I can tell
> > the outcome was that the allocator already provides what you want. Which
> > was a mechanism to misalign objects and detect these issues. This
> > mechanism has been in use for over a decade.
>
> You missed the important part, which was *ENABLED BY DEFAULT*. People
> who are enabling a debugging option to debug their issues, should not
> have to first debug all the other issues that enabling that debugging
> option uncovers!
Why would you have to debug all other issues? You could put your patch on
top of the latest stable or distro kernel for testing.
And I thought the rc phase was there for everyone to work on the bugs of
each other?