From: Andrzej Hajda <andrzej.hajda@intel.com>
To: <linux-kernel@vger.kernel.org>, <intel-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>,
netdev <netdev@vger.kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
Daniel Vetter <daniel@ffwll.ch>,
Lucas De Marchi <lucas.demarchi@intel.com>,
Chris Wilson <chris.p.wilson@intel.com>,
Eric Dumazet <edumazet@google.com>,
Dmitry Vyukov <dvyukov@google.com>,
Jakub Kicinski <kuba@kernel.org>
Subject: Re: [PATCH v2 00/11] drm/i915: use ref_tracker library for tracking wakerefs
Date: Tue, 22 Feb 2022 00:23:40 +0100 [thread overview]
Message-ID: <07c740c3-434a-c88f-2ae4-268351bc3005@intel.com> (raw)
In-Reply-To: <20220221231705.1481059-1-andrzej.hajda@intel.com>
On 22.02.2022 00:16, Andrzej Hajda wrote:
> Hi,
>
> Appearance of ref_tracker library allows to drop custom solution for wakeref
> tracking used in i915 and reuse the library.
> For this few adjustements has been made to ref_tracker, details in patches.
> I hope changes are OK for original author.
>
> The patchset has been rebased on top of drm-tip to allow test changes by CI.
> Patches marked "[DO NOT MERGE]" are cherry-picked from linux-next (they are
> not yet in drm-tip), to allow build and run CI on the patchset (it works only
> on drm-tip tree).
>
> Added CC to netdev as the only user of the library atm.
>
> v2:
> - replaced list_sort with ref_tracker_dir_stats, to avoid potentially
> extensive sorting, if number of reports is expected to be big enough (???)
> we can replace linear search in ref_tracker_dir_stats.stacks with binary
> heap (min_heap),
> - refactored gfp flags,
> - fixed i915 handling of no-tracking flag.
>
> Regards
> Andrzej
Sorry for the mess, sth wrong happened to my scripts and I've messed
patches, I will resend it properly.
Regards
Andrzej
prev parent reply other threads:[~2022-02-21 23:24 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 23:16 Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 01/11] [DO NOT MERGE] ref_tracker: implement use-after-free detection Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 1/9] lib/ref_tracker: add unlocked leak print helper Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 01/11] ref_tracker: implement use-after-free detection Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 02/11] [DO NOT MERGE] ref_tracker: add a count of untracked references Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 2/9] lib/ref_tracker: compact stacktraces before printing Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 02/11] ref_tracker: add a count of untracked references Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 03/11] [DO NOT MERGE] ref_tracker: remove filter_irq_stacks() call Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 3/9] lib/ref_tracker: __ref_tracker_dir_print improve printing Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 03/11] ref_tracker: remove filter_irq_stacks() call Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 4/9] lib/ref_tracker: add printing to memory buffer Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 04/11] lib/ref_tracker: add unlocked leak print helper Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 5/9] lib/ref_tracker: improve allocation flags Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 05/11] lib/ref_tracker: __ref_tracker_dir_print improve printing Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 6/9] drm/i915: Separate wakeref tracking Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 06/11] lib/ref_tracker: add printing to memory buffer Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 7/9] drm/i915: Track leaked gt->wakerefs Andrzej Hajda
2022-02-21 23:16 ` [PATCH v2 07/11] lib/ref_tracker: remove warnings in case of allocation failure Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 8/9] drm/i915: Correct type of wakeref variable Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 08/11] drm/i915: Separate wakeref tracking Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 9/9] drm/i915: replace Intel internal tracker with kernel core ref_tracker Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 09/11] drm/i915: Track leaked gt->wakerefs Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 10/11] drm/i915: Correct type of wakeref variable Andrzej Hajda
2022-02-21 23:17 ` [PATCH v2 11/11] drm/i915: replace Intel internal tracker with kernel core ref_tracker Andrzej Hajda
2022-02-21 23:23 ` Andrzej Hajda [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=07c740c3-434a-c88f-2ae4-268351bc3005@intel.com \
--to=andrzej.hajda@intel.com \
--cc=chris.p.wilson@intel.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=dvyukov@google.com \
--cc=edumazet@google.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=netdev@vger.kernel.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
all inboxes | Powered by JetHome®