Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [PATCH] vmscan: stop meaningless loop iteration when no reclaimable slab | Date | Tue, 13 Jul 2010 13:59:11 +0900 (JST) |
| |
> On Fri, 9 Jul 2010, KOSAKI Motohiro wrote: > > > If number of reclaimable slabs are zero, shrink_icache_memory() and > > shrink_dcache_memory() return 0. but strangely shrink_slab() ignore > > it and continue meaningless loop iteration. > > There is also a per zone/node/global counter SLAB_RECLAIM_ACCOUNT that > could be used to determine if its worth looking at things at all. I saw > some effort going into making the shrinkers zone aware. If so then we may > be able to avoid scanning slabs.
Yup. After to merge nick's effort, we can makes more imrovement. I bet :)
| |