Messages in this thread | | | Date | Tue, 21 May 2013 11:28:36 +0400 | From | Glauber Costa <> | Subject | Re: [PATCH v2] mm: vmscan: add VM_BUG_ON on illegal return values from scan_objects |
| |
On 05/21/2013 11:17 AM, Pekka Enberg wrote: > It seems to me relaxing the shrinker API restrictions and changing the > "ret == -1" to "ret < 0" would be a much more robust approach...
Dave had already spoken against it, and I agree with him Anybody returning any negative value different than -1 is definitely doing something strange
| |