* [failures] gpu-drm-i915-use-time_is_after_jiffies-instead-of-open-coding-it.patch removed from -mm tree
@ 2022-04-25 23:59 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-25 23:59 UTC (permalink / raw)
To: mm-commits, tvrtko.ursulin, rodrigo.vivi, michal.winiarski,
matthew.d.roper, matthew.auld, joonas.lahtinen,
janusz.krzysztofik, jani.nikula, daniel, andi.shyti, airlied,
wangqing, akpm
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]
The patch titled
Subject: gpu: drm: i915: use time_is_after_jiffies() instead of open coding it
has been removed from the -mm tree. Its filename was
gpu-drm-i915-use-time_is_after_jiffies-instead-of-open-coding-it.patch
This patch was dropped because it had testing failures
------------------------------------------------------
From: Wang Qing <wangqing@vivo.com>
Subject: gpu: drm: i915: use time_is_after_jiffies() instead of open coding it
Use the helper function time_is_{before,after}_jiffies() to improve code
readability.
Link: https://lkml.kernel.org/r/1650621172-66967-3-git-send-email-wangqing@vivo.com
Signed-off-by: Wang Qing <wangqing@vivo.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: "Michał Winiarski" <michal.winiarski@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c~gpu-drm-i915-use-time_is_after_jiffies-instead-of-open-coding-it
+++ a/drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c
@@ -57,7 +57,7 @@ static bool pool_free_older_than(struct
node = list_entry(pos, typeof(*node), link);
age = READ_ONCE(node->age);
- if (!age || jiffies - age < keep)
+ if (!age || time_is_after_jiffies(age + keep))
break;
/* Check we are the first to claim this node */
_
Patches currently in -mm which might be from wangqing@vivo.com are
gpu-drm-radeon-use-time_is_before_jiffies-instead-of-open-coding-it.patch
hid-use-time_is_after_jiffies-instead-of-open-coding-it.patch
md-use-time_is_before_eq_jiffies-instead-of-open-coding-it.patch
net-wireless-marvell-use-time_is_before_jiffies-instead-of-open-coding-it.patch
scsi-bfa-use-time_is_before_jiffies-instead-of-open-coding-it.patch
net-decnet-use-time_is_before_jiffies-instead-of-open-coding-it.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-25 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-25 23:59 [failures] gpu-drm-i915-use-time_is_after_jiffies-instead-of-open-coding-it.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.