Messages in this thread | | | Date | Thu, 16 May 2013 10:47:49 +1000 | From | Dave Chinner <> | Subject | Re: [RFC PATCH 1/2] mm: vmscan: let any negative return value from shrinker mean error |
| |
On Mon, May 13, 2013 at 04:16:34PM +0200, Oskar Andero wrote: > The shrinkers must return -1 to indicate that it is busy. Instead of > relaying on magical numbers, let any negative value indicate error. This > opens up for using the errno.h error codes in the shrinker > implementations.
Just what is the shrinker infrastructure supposed to do with a random error code?
Cheers,
Dave. -- Dave Chinner david@fromorbit.com
| |