Re: [PATCH v2] rust: alloc: satisfy `aligned_alloc` requirements

DJ Delorie
2025-02-10T04:00:45Z

Alejandro Colomar <alx@kernel.org> writes:
> On retrospective, we should have added some more details to that commit
> message. DJ, has the requirement of the size been lifted? Was it never
> present?

The current code checks alignment but not size.

It looks like that was always the case.

And no, I don't remember where I got the size requirement from ;-)
(but at least it says "should" instead of "must")