rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: miguel.ojeda.sandonis@gmail.com, eblake@redhat.com,
	will.newton@linaro.org, eggert@cs.ucla.edu,
	linux-man@vger.kernel.org, dakr@kernel.org, tamird@gmail.com,
	ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com,
	gary@garyguo.net, bjorn3_gh@protonmail.com,
	benno.lossin@proton.me, a.hindborg@kernel.org,
	aliceryhl@google.com, tmgross@umich.edu,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] rust: alloc: satisfy `aligned_alloc` requirements
Date: Sun, 09 Feb 2025 22:01:50 -0500	[thread overview]
Message-ID: <xn1pw6o63l.fsf@greed.delorie.com> (raw)
In-Reply-To: <iocqkifz6dsywt2ueqppsdw53bgcp6i7ju7vadxxxu7pow6w5c@n2wqgypsiq2d> (message from Alejandro Colomar on Sun, 9 Feb 2025 00:35:55 +0100)

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")


      parent reply	other threads:[~2025-02-10  3:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-02 11:27 [PATCH v2] rust: alloc: satisfy `aligned_alloc` requirements Tamir Duberstein
2025-02-05 19:13 ` Danilo Krummrich
2025-02-06 17:56 ` Miguel Ojeda
2025-02-06 18:04   ` Danilo Krummrich
2025-02-06 18:10     ` Tamir Duberstein
2025-02-06 18:23       ` Miguel Ojeda
2025-02-06 18:51         ` Tamir Duberstein
2025-02-06 18:20     ` Miguel Ojeda
2025-02-06 18:57       ` Danilo Krummrich
2025-02-06 19:04         ` Tamir Duberstein
2025-02-06 19:37         ` Miguel Ojeda
2025-02-06 19:46           ` Danilo Krummrich
2025-02-08 19:19           ` Alejandro Colomar
2025-02-08 20:09             ` Paul Eggert
2025-02-08 20:31               ` Alejandro Colomar
2025-02-08 20:21             ` DJ Delorie
2025-02-08 23:11             ` Miguel Ojeda
2025-02-08 23:35               ` Alejandro Colomar
2025-02-08 23:50                 ` Miguel Ojeda
2025-02-10  3:01                 ` DJ Delorie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xn1pw6o63l.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=alx@kernel.org \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=eblake@redhat.com \
    --cc=eggert@cs.ucla.edu \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tamird@gmail.com \
    --cc=tmgross@umich.edu \
    --cc=will.newton@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).