From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 0/4] drm/buddy: backport buddy allocator fixes
Date: Wed, 18 Nov 2026 16:37:13 +0100 [thread overview]
Message-ID: <179501623374.1085329.11354654960271434228.b4-review@b4> (raw)
In-Reply-To: <20261118113935.381228-1-mirian.shilakadze@virtuozzo.com>
Applying with these fixes on my side:
- 4/4 adaptation note: both call sites returned the result of
__alloc_contig_try_harder() directly, not only the second one, and
upstream's goto err_free came with 1ad5e807f716 ("gpu/buddy: replace
dual-tree/force_merge with decoupled dirty tracker"), which is not in
this tree
On Wed, 18 Nov 2026 15:38:09 +0400, Mirian Shilakadze wrote:
> 4. fb26cf4f1df4: when the contiguous fallback fails or retries, it
> frees the whole list the caller passed in, including blocks the
> caller allocated before. Not in the ticket and not in mainline yet
> (linux-next, Cc stable). Taken because it fixes the same fallback as
> 3 and the drm_buddy suite catches it: without 4, alloc_contiguous
> fails on the check that 4 adds.
Fine to take, but the suite catches it only through the check 4 adds
itself, and no driver here passes a non-empty list with
DRM_BUDDY_CONTIGUOUS_ALLOCATION. It hardens the API; at the next RHEL
rebase check that it reached mainline under the same id.
Thanks.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-18 15:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 11:38 Mirian Shilakadze
2026-11-18 11:38 ` [Devel] [PATCH hci-8.2 1/4] ms/drm/buddy: Prevent BUG_ON by validating rounded allocation Mirian Shilakadze
2026-11-18 11:43 ` no-reply
2026-11-18 11:38 ` [Devel] [PATCH hci-8.2 2/4] ms/gpu/buddy: Fix use-after-free in split_block() call sites Mirian Shilakadze
2026-11-18 11:43 ` no-reply
2026-11-18 11:38 ` [Devel] [PATCH hci-8.2 3/4] ms/gpu/buddy: bail out of try_harder when alignment cannot be honoured Mirian Shilakadze
2026-11-18 11:47 ` no-reply
2026-11-18 11:38 ` [Devel] [PATCH hci-8.2 4/4] ms/gpu/buddy: do not pass caller list to __alloc_contig_try_harder() Mirian Shilakadze
2026-11-18 11:45 ` no-reply
2026-11-18 15:37 ` Konstantin Khorenko [this message]
2026-11-18 15:37 ` [Devel] [PATCH hci-8.2 0/4] drm/buddy: backport buddy allocator fixes Konstantin Khorenko
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=179501623374.1085329.11354654960271434228.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=devel@openvz.org \
--cc=mirian.shilakadze@virtuozzo.com \
/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