From: vitaly prosyak <vprosyak@amd.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
vitaly.prosyak@amd.com, igt-dev@lists.freedesktop.org,
Christian Koenig <christian.koenig@amd.com>,
Alexander Deucher <alexander.deucher@amd.com>,
Jesse Zhang <jesse.zhang@amd.com>,
Harry Wentland <harry.wentland@amd.com>
Subject: Re: [PATCH] lib/amd: add memleak functions
Date: Wed, 19 Feb 2025 12:50:49 -0500 [thread overview]
Message-ID: <93281b6c-1ae1-426e-aae7-46974d355532@amd.com> (raw)
In-Reply-To: <20250219104149.npgbvmtr5vikkkhr@kamilkon-desk.igk.intel.com>
Hi Kamil,
Thanks for raising this question. Currently, only a single test uses the memleak feature. However, we are planning to add more. This effort requires careful selection, as we want to avoid unnecessary overhead or burden. Enabling the memleak configuration significantly slows down test execution—potentially increasing the duration by 2-3 times.
Additionally, we aim to reach internal consensus on which tests should have this feature enabled. We also want to avoid enabling both KASAN and memleak simultaneously. These considerations are the reason for the delay.
Thanks for your understanding!
Vitaly
On 2025-02-19 05:41, Kamil Konieczny wrote:
> Hi Vitaly,
> On 2025-02-18 at 06:43:41 -0500, vitaly.prosyak@amd.com wrote:
>> From: Vitaly Prosyak <vitaly.prosyak@amd.com>
>>
>> refactor memory leak functions and add
>> them to the library for reuse across different tests.
>>
>> Cc: Christian Koenig <christian.koenig@amd.com>
>> Cc: Alexander Deucher <alexander.deucher@amd.com>
>> Cc: Jesse Zhang <jesse.zhang@amd.com>
>> Cc: Harry Wentland <harry.wentland@amd.com>
>>
>> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
>> ---
>> lib/amdgpu/amd_mem_leak.c | 112 ++++++++++++++++++++++++++++++++++++
>> lib/amdgpu/amd_mem_leak.h | 17 ++++++
>> lib/meson.build | 1 +
>> tests/amdgpu/amd_mem_leak.c | 88 ++--------------------------
>>
> [...cut...]
>
> Why moving to library when there is only one user?
>
> Regards,
> Kamil
>
next prev parent reply other threads:[~2025-02-19 17:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 11:43 [PATCH] lib/amd: add memleak functions vitaly.prosyak
2025-02-18 13:15 ` ✓ i915.CI.BAT: success for " Patchwork
2025-02-18 14:16 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-18 18:10 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-19 1:16 ` [PATCH] " Zhang, Jesse(Jie)
2025-02-19 4:49 ` ✗ Xe.CI.Full: failure for " Patchwork
2025-02-19 10:41 ` [PATCH] " Kamil Konieczny
2025-02-19 17:50 ` vitaly prosyak [this message]
2025-02-26 9:09 ` Zbigniew Kempczyński
2025-02-26 9:43 ` Peter Senna Tschudin
2025-02-26 10:09 ` Zbigniew Kempczyński
2025-02-26 10:24 ` Peter Senna Tschudin
2025-02-27 5:08 ` vitaly prosyak
2025-02-27 9:08 ` Peter Senna Tschudin
2025-02-27 10:53 ` Kamil Konieczny
2025-02-27 11:13 ` Peter Senna Tschudin
2025-02-28 3:01 ` vitaly prosyak
2025-02-27 10:27 ` Peter Senna Tschudin
2025-02-28 3:17 ` vitaly prosyak
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=93281b6c-1ae1-426e-aae7-46974d355532@amd.com \
--to=vprosyak@amd.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=harry.wentland@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jesse.zhang@amd.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=vitaly.prosyak@amd.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