xfs-convert-dquot-cache-lru-to-list_lru.patch removed from -mm tree
Subject: [to-be-updated] xfs-convert-dquot-cache-lru-to-list_lru.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 06 Jun 2013 12:34:55 -0700
The patch titled
Subject: xfs: convert dquot cache lru to list_lru
has been removed from the -mm tree. Its filename was
xfs-convert-dquot-cache-lru-to-list_lru.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Dave Chinner <[email protected]>
Subject: xfs: convert dquot cache lru to list_lru
Convert the XFS dquot lru to use the list_lru construct and convert the shrinker to being node aware.
---
fs/xfs/xfs_dquot.c | 7 - fs/xfs/xfs_qm.c | 277 ++++++++++++++++++++++--------------------- fs/xfs/xfs_qm.h | 4 3 files changed, 144 insertions(+), 144 deletions(-)
fs/xfs/xfs_dquot.c renamed from fs/xfs/xfs_dquot.c~xfs-convert-dquot-cache-lru-to-list_lru +1 -6
@@ -939,13 +939,8 @@ xfs_qm_dqput_final(trace_xfs_dqput_free (dqp); -mutex_lock (&qi->qi_lru_lock); -if (list_empty (&dqp->q_lru)) { -list_add_tail (&dqp->q_lru, &qi->qi_lru_list); - qi->qi_lru_count++; +if (list_lru_add (&qi->qi_lru, &dqp->q_lru))XFS_STATS_INC (xs_qm_dquot_unused); - } -mutex_unlock (&qi->qi_lru_lock);/* * If we just added a udquot to the freelist, then we want to release
fs/xfs/xfs_qm.c renamed from fs/xfs/xfs_qm.c~xfs-convert-dquot-cache-lru-to-list_lru +142 -135
317 lines not on this page · raw message
fs/xfs/xfs_qm.h renamed from fs/xfs/xfs_qm.h~xfs-convert-dquot-cache-lru-to-list_lru +1 -3
@@ -47,9 +47,7 @@ typedef struct xfs_quotainfo {struct mutex qi_tree_lock;xfs_inode_t *qi_uquotaip;/* user quota inode */ xfs_inode_t *qi_gquotaip;/* group quota inode */ -struct list_head qi_lru_list; -struct mutex qi_lru_lock; -int qi_lru_count; +struct list_lru qi_lru;int qi_dquots;time_t qi_btimelimit;/* limit for blks timer */ time_t qi_itimelimit;/* limit for inodes timer */
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch fs-convert-fs-shrinkers-to-new-scan-count-api.patch drivers-convert-shrinkers-to-new-count-scan-api.patch i915-bail-out-earlier-when-shrinker-cannot-acquire-mutex.patch shrinker-convert-remaining-shrinkers-to-count-scan-api.patch hugepage-convert-huge-zero-page-shrinker-to-new-shrinker-api.patch shrinker-kill-old-shrink-api.patch vmscan-also-shrink-slab-in-memcg-pressure.patch memcglist_lru-duplicate-lrus-upon-kmemcg-creation.patch lru-add-an-element-to-a-memcg-list.patch list_lru-per-memcg-walks.patch memcg-per-memcg-kmem-shrinking.patch memcg-scan-cache-objects-hierarchically.patch vmscan-take-at-least-one-pass-with-shrinkers.patch super-targeted-memcg-reclaim.patch memcg-move-initialization-to-memcg-creation.patch vmpressure-in-kernel-notifications.patch memcg-reap-dead-memcgs-upon-global-memory-pressure.patch