From: "Sebastian Brzezinka" <sebastian.brzezinka@intel.com>
To: Krzysztof Karas <krzysztof.karas@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>
Cc: "Andi Shyti" <andi.shyti@linux.intel.com>,
"Michał Grzelak" <michal.grzelak@intel.com>,
"Janusz Krzysztofik" <janusz.krzysztofik@linux.intel.com>,
"Sebastian Brzezinka" <sebastian.brzezinka@intel.com>,
"Krzysztof Niemiec" <krzysztof.niemiec@intel.com>
Subject: Re: [PATCH v8 4/6] drm/i915/gem: Pull out size validation into a separate function
Date: Tue, 24 Nov 2026 12:54:07 +0100 [thread overview]
Message-ID: <DN3F5TYUV3XS.33TOBWJ7BWFIH@intel.com> (raw)
In-Reply-To: <20261109113758.1491891-5-krzysztof.karas@intel.com>
On Mon Nov 9, 2026 at 12:37 PM CET, Krzysztof Karas wrote:
> shmem_sg_alloc_table is a very large and hard to read function,
> so reduce the number of operations it is responsible for by
> placing "size" validation and page_count assignment in a new
> helper.
>
> Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
> ---
Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
--
Best regards,
Sebastian
next prev parent reply other threads:[~2026-11-24 11:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 11:37 [PATCH v8 0/6] drivers: Improve memory management for large object allocations when i915/shmem is used with iommu Krzysztof Karas
2026-11-09 11:37 ` [PATCH v8 1/6] drm/i915/shmem: Validate max_segment Krzysztof Karas
2026-11-24 11:50 ` Sebastian Brzezinka
2026-11-09 11:37 ` [PATCH v8 2/6] drm/i915/gem: Count mapped pages in a folio Krzysztof Karas
2026-11-12 12:29 ` Janusz Krzysztofik
2026-11-24 11:51 ` Sebastian Brzezinka
2026-11-09 11:37 ` [PATCH v8 3/6] drm/i915/gem: Free sg table on failure to acquire second folio Krzysztof Karas
2026-11-24 11:53 ` Sebastian Brzezinka
2026-11-09 11:37 ` [PATCH v8 4/6] drm/i915/gem: Pull out size validation into a separate function Krzysztof Karas
2026-11-24 11:54 ` Sebastian Brzezinka [this message]
2026-11-09 11:37 ` [PATCH v8 5/6] drm/i915/gem: Read and shrink memory in " Krzysztof Karas
2026-11-24 11:54 ` Sebastian Brzezinka
2026-11-09 11:37 ` [PATCH v8 6/6] drm/i915/gem: Remove iterator and use while loop Krzysztof Karas
2026-11-24 11:54 ` Sebastian Brzezinka
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=DN3F5TYUV3XS.33TOBWJ7BWFIH@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=andi.shyti@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=janusz.krzysztofik@linux.intel.com \
--cc=krzysztof.karas@intel.com \
--cc=krzysztof.niemiec@intel.com \
--cc=michal.grzelak@intel.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