Re: [PATCH v4] mm: cma: support sysfs

From: Dmitry Osipenko
Date: Mon Mar 22 2021 - 10:45:03 EST

20.03.2021 10:52, Greg Kroah-Hartman пишет:
>> I found the Greg's original argument and not sure that it's really
>> worthwhile to worry about the copycats since this is not a driver's code..
>> Maybe we could just add a clarifying comment for the kobj, telling why
>> it's okay for CMA. Greg, doesn't it sound like a good compromise to you?
> Please no.

In the case of a static objects, like CMA, this creates more bad than
good, IMO. Even experienced developers are getting confused. In the end
it's up to you guys to decide what to choose, either way will work.