/* Add a shrinker callback to be called from the vm  */
void register_shrinker(struct shrinker *shrinker)
/* Add a shrinker callback to be called from the vm  */
void register_shrinker(struct shrinker *shrinker)
{
	shrinker->nr = 0;
	down_write(&shrinker_rwsem);
	list_add_tail(&shrinker->list, &shrinker_list);
	up_write(&shrinker_rwsem);
}