Thread (25 messages) flat view 25 messages, 1 author, 2022-02-21

Re: [PATCH v2 00/11] drm/i915: use ref_tracker library for tracking wakerefs

From: Andrzej Hajda <andrzej.hajda@intel.com>
Date: 2022-02-21 23:24:01
Also in: dri-devel, intel-gfx, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help