From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Fri, 21 Jan 2011 06:02:29 -0800 Subject: Running kmemleak without sysfs support In-Reply-To: References: <20110120155657.GA29375@kroah.com> Message-ID: <20110121140229.GA26799@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fri, Jan 21, 2011 at 11:26:43AM +0200, Daniel Baluta wrote: > On Thu, Jan 20, 2011 at 5:56 PM, Greg KH 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