Re: Why is flags being backed up before calling cli

2011-01-20 Thread Alexandre Courbot
Hi, > I noticed that the flags register is being stored before doing 'cli' and > then restored after calling 'sti'. - eg. in local_irq_save and > local_irq_restore > Can someone tell me the scenario that is being guarded against by backing up > flags? There are many functions in the kernel that c

Re: Why is flags being backed up before calling cli

2011-01-20 Thread Dave Hylands
Hi Kashyap, Sending to the group this time. On Thu, Jan 20, 2011 at 11:00 PM, C K Kashyap wrote: > Hi, > I noticed that the flags register is being stored before doing 'cli' and > then restored after calling 'sti'. - eg. in local_irq_save and > local_irq_restore > Can someone tell me the scenari

Why is flags being backed up before calling cli

2011-01-20 Thread C K Kashyap
Hi, I noticed that the flags register is being stored before doing 'cli' and then restored after calling 'sti'. - eg. in local_irq_save and local_irq_restore Can someone tell me the scenario that is being guarded against by backing up flags? Regards, Kashyap

Regarding Linux device driver Project

2011-01-20 Thread ashutosh mishra
> hi > i want to write a driver for DIO-48S PCI Card > (its automation Project - Aluminium Foil Winding Automated System Using PCI > Interface) >i want to ask that what are the..prerequesite...for the Project... > i hav konwledge of C,89c51 Microcontroller,Arm Processor. > but i am not ab

Re: question about subsys_initcall sequence

2011-01-20 Thread Greg KH
On Fri, Jan 21, 2011 at 08:13:15AM +0530, naveen yadav wrote: > Hi all, > > I am migrating kernel to new target, and it hangs in between, I want > to know where it hangs. > Since it do lots of subsys_initcall(XXX). So i do not know the > sequence where it hangs. is there any way from which i can f

question about subsys_initcall sequence

2011-01-20 Thread naveen yadav
Hi all, I am migrating kernel to new target, and it hangs in between, I want to know where it hangs. Since it do lots of subsys_initcall(XXX). So i do not know the sequence where it hangs. is there any way from which i can find the sequence of kernel inbuild INIT execution sequence. Thanks _

Re: possible regression?

2011-01-20 Thread Mag Gam
Greg, Yes, I did one very big like 100TB and I still see the regression. I even tried it with your extra dd option. I am wondering if the new kernel (2.6.36) introduced an options I need to set ? Can someone else try this? To reiterate the test scenario, Box 1, RHEL 5.1, stock kernel, dd bs=102

Re: Debug Logs

2011-01-20 Thread Greg Freemyer
On Thu, Jan 20, 2011 at 2:05 PM, Denis Kirjanov wrote: > On Thu, Jan 20, 2011 at 3:04 PM, sugnan prabhu > wrote: >> Hi Mulyadi, >> >>   Finally after making some study on the dprintk source, i found that it >> can be enable by setting the config CONFIG_CPU_FREQ_DEBUG >> >>   http://codem

Re: Debug Logs

2011-01-20 Thread Denis Kirjanov
On Thu, Jan 20, 2011 at 3:04 PM, sugnan prabhu wrote: > Hi Mulyadi, > >   Finally after making some study on the dprintk source, i found that it > can be enable by setting the config CONFIG_CPU_FREQ_DEBUG > >   http://codemonkey.org.uk/projects/cpufreq/ > > But the above link say that i ne

Re: Running kmemleak without sysfs support

2011-01-20 Thread Greg KH
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

Re: Regarding Kernel Project

2011-01-20 Thread Greg KH
On Thu, Jan 20, 2011 at 12:32:39PM +0700, Mulyadi Santosa wrote: > On Thu, Jan 20, 2011 at 10:01, Greg KH wrote: > > On Wed, Jan 19, 2011 at 09:11:53PM -0500, Pein Junior wrote: > >> > >> > >> > What is the USB device and vendor id? > >> > >> Hope this manual help explaining all that. > > Guys, I

Re: possible regression?

2011-01-20 Thread Greg Freemyer
Mulyadi, You disappoint me. ;( Just kidding, but discussing dd throughput without the "conv=fdatasync" parameter is just a waste of everyone's time. And Mag, use a big enough count that it at least takes a few seconds to complete. A tenth of a second or less is just way to short to use as a ben

Re: possible regression?

2011-01-20 Thread Mag Gam
I am using RHEL 5.1. Sorry for not being clear. I wil give this a try today when I go back to class. But I was just curious why this was happening. How would one disable "block merge" efficiency? Has this feature been added recently? On Thu, Jan 20, 2011 at 12:28 AM, Mulyadi Santosa wrote: > Hi

Re: Running kmemleak without sysfs support

2011-01-20 Thread Daniel Baluta
On Thu, Jan 20, 2011 at 12:52 PM, Catalin Marinas wrote: > On Thu, 2011-01-20 at 10:41 +, Daniel Baluta wrote: >> Can I make any use of kmemcheck if I don't have sysfs >> kernel support enabled? > > Kmemleak can scan output the memory and report the number of leaked > objects but if you need t

Re: Debug Logs

2011-01-20 Thread sugnan prabhu
Hi Mulyadi, Finally after making some study on the dprintk source, i found that it can be enable by setting the config CONFIG_CPU_FREQ_DEBUG http://codemonkey.org.uk/projects/cpufreq/ But the above link say that i need to boot the kernel with cpufreq.debug=7, am not getting how to do

Re: Running kmemleak without sysfs support

2011-01-20 Thread Daniel Baluta
> Can I make any use of kmemcheck if I don't have sysfs > kernel support enabled? s/kmemcheck/kmemleak :D ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Running kmemleak without sysfs support

2011-01-20 Thread Daniel Baluta
Hello all, Can I make any use of kmemcheck if I don't have sysfs kernel support enabled? thanks, Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies