Running kmemleak without sysfs support

Greg KH greg at kroah.com
Fri Jan 21 09:02:29 EST 2011


On Fri, Jan 21, 2011 at 11:26:43AM +0200, Daniel Baluta wrote:
> On Thu, Jan 20, 2011 at 5:56 PM, Greg KH <greg at kroah.com> wrote:
> > On Thu, Jan 20, 2011 at 12:41:57PM +0200, Daniel Baluta wrote:
> >> Hello all,
> >>
> >> Can I make any use of kmemcheck if I don't have sysfs
> >> kernel support enabled?
> >
> > Why would you ever want to run a kernel without sysfs support?  If you
> > turn it off, you loose a _lot_ of functionality that you will need to
> > add back to your system in some other manner.
> 
> I totally agree with you. But we've done it to save memory.

Does it really save memory?  If so, how much and what is your budget for
memory?

Are you worried about swapable or non-swapable memory usage?

> > What, specifically, is wrong with sysfs that is solved by turning it
> > off?
> 
> There's nothing wrong with sysfs. In fact, I like it!

Then you should turn it back on, it will save you a whole lot of grief
in the end :)

good luck,

greg k-h



More information about the Kernelnewbies mailing list