Thread (20 messages) 20 messages, 3 authors, 2021-02-10

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

From: John Hubbard <jhubbard@nvidia.com>
Date: 2021-02-10 07:52:57
Also in: lkml

On 2/9/21 11:26 PM, Greg KH wrote:
...
quoted
I just am not especially happy about the inability to do natural, efficient
things here, such as use a statically allocated set of things with sysfs. And
I remain convinced that the above is not "improper"; it's a reasonable
step, given the limitations of the current sysfs design. I just wanted to say
that out loud, as my proposal sinks to the bottom of the trench here. haha :)
What is "odd" is that you are creating an object in the kernel that you
_never_ free.  That's not normal at all in the kernel, and so, your wish
to have a kobject that you never free represent this object also is not
normal :)
OK, thanks for taking the time to explain that, much appreciated!


thanks,
-- 
John Hubbard
NVIDIA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help