> On Tue, Apr 19, 2011 at 5:20 PM, KOSAKI Motohiro < > kosaki.motohiro@xxxxxxxxxxxxxx> wrote: > > > > This patch changes the shrink_slab and shrinker APIs by consolidating > > existing > > > parameters into scan_control struct. This simplifies any further attempts > > to > > > pass extra info to the shrinker. Instead of modifying all the shrinker > > files > > > each time, we just need to extend the scan_control struct. > > > > > > > Ugh. No, please no. > > Current scan_control has a lot of vmscan internal information. Please > > export only you need one, not all. > > > > Otherwise, we can't change any vmscan code while any shrinker are using it. > > > > So, are you suggesting maybe add another struct for this purpose? Yes. And please explain which member do you need. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>