Michal Hocko wrote: > > Since we can encourage register_shrinker() callers to check for failure > > by marking register_shrinker() as __must_check, unregister_shrinker() > > can stay silent. > > I am not sure __must_check is the right way. We already do get > allocation warning if the registration fails so silent unregister is > acceptable. Unchecked register_shrinker is a bug like any other > unchecked error path. I consider that __must_check is the simplest way to find all of unchecked register_shrinker bugs. Why not to encourage users to fix? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>