Re: [PATCH] i915: slab shrinker have to return -1 if it cantshrink any objects

From: Dave Chinner
Date: Wed Jul 13 2011 - 23:47:15 EST


On Thu, Jul 14, 2011 at 11:48:08AM +0900, KOSAKI Motohiro wrote:
> >> If you are thinking the shrinker protocol is too complicated, doc update
> >> patch is really welcome.
> >
> > Slab shrinkers have a nasty, crappy interface and the shrink_slab()
> > code is full of bugs. Rather that telling people to "update the
> > documentation" because it's too complex, how about we fix the
> > interface and the bugs?
>
> If you can take your time for that, I don't hesitate to help you. ;)

Its on my list of things to do if nobody else steps before I get
there ;)

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/