* [PATCH] put newly registered shrinkers at the tail of the list
@ 2005-03-02 5:02 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-03-02 5:02 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
This way we actually share dentries before inodes and thus mark more
inodes reclaimable once we shake them.
--- 1.240/mm/vmscan.c 2005-02-04 01:53:32 +01:00
+++ edited/mm/vmscan.c 2005-03-02 07:09:00 +01:00
@@ -137,7 +137,7 @@ struct shrinker *set_shrinker(int seeks,
shrinker->seeks = seeks;
shrinker->nr = 0;
down_write(&shrinker_rwsem);
- list_add(&shrinker->list, &shrinker_list);
+ list_add_tail(&shrinker->list, &shrinker_list);
up_write(&shrinker_rwsem);
}
return shrinker;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-02 5:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 5:02 [PATCH] put newly registered shrinkers at the tail of the list Christoph Hellwig
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®