Re: RT Kernel compile and install help needed.
On Tue, 04 Nov 2014 13:07:47 +0530, Chanchal Paul said: > I am fairly new to kernel compilation and installation process, still i > managed to learn from Kernelnewbies and RT-wiki and managed to patch > 3.12.14 vanilla kernel with rt patch 3.14.12. You *really* want to get the correct patch on the kernel release. Mixing and matching a 3.12 kernel and a 3.14 patch will almost certainly lead to weird results. > Now my confusion arises when i see my uname -a string as "Linux > paul-lubuntu 3.14.12-rt9 #2 SMP PREEMPT Tue Oct 28 13:30:27 UTC 2014 x86_64 > x86_64 x86_64 GNU/Linux" which indicated that i have a preemptive kernel > installed. but the c program from " > https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO"; for "Runtime > detection of an RT-PREEMPT Kernel" only prints "this is a vanilla kernel". > So, my question is am I running a vanilla kernel or a real-time kernel? If > I am not then what are the steps to properly install a real-time kernel? After applying the patch, you need to run 'make menuconfig' or similar and actually enable the hard realtime support. Also, be aware that most of the -rt patch has over the years been upstreamed, so for the vast majority of uses, applying the patch isn't really worth it - 95% of the people using that patch don't get any measurable benefit. (Yes, most of the people using it *claim* they get "better latency response" from their desktop. And most of them are having total placebo effect. They think they should get better response, so they think they get it. Nobody's actually done a blind study, where grub randomly boots one kernel or another and the user doesn't know which, and measured any difference that way) pgprmuyS3XURW.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula challenge status
Hi Ramon, On 2014.11.04 14:59, Ramon Fried wrote: > Tasks are pending for a long time. Anyone has Info regarding the queue? It happens from time to time because a lot of people are doing the challenge. If after some time (1 - 2 weeks +) you get no reply you can always send little a message and ask about the queue or if your submission was lost. Just don't send him messages very short after sending your submissions because that will piss him off. He's already doing a tremendous favor for all of us. Hopefully this will be helpful, Giedrius ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Eudyptula challenge status
Hey all. Tasks are pending for a long time. Anyone has Info regarding the queue? Thanks. Ramon ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Why page fault handler behaved this way? Please help!
Hello... how big is your binary anyway? from your log, if my calculation is right, your code segment is around 330 KiB. But bear in mind, that not all of them are your code. There are other code like PLT, function prefix and so on. Also, even if your code is big, are you sure all of them are executed? Following 20/80 principle, most of the time, when running an application, only 20% portion of the application are really used/executed during 80% of application lifetime. The rest, it might untouched at all. On Thu, Oct 30, 2014 at 2:10 PM, 秦弋戈 wrote: > > > > Dear all, > > > I am a kernel newbie who want's to learn more about memory management. > Recently I'm doing some experiment on page fault handler. There happened > something that I couldn't understand. > > > From reading the book Understanding the Linux Kernel, I know that the > kernel loads a page as late as possible. It's only happened when the > program has to reference (read, write, or execute) a page yet the page is > not in memory. > > > However, when I traced all page faults in my test program, I found > something strange. My test program is large enough, but there are only two > page faults triggered in the code segment of the program, while most of the > faults are not in code segment. > > > At first I thought that perhaps the page is not the normal 4K page. Thus I > turned off the PAE support in the config file. But the log remains > unchanged. > > > So why are there only 2 page faults in code segment? It shouldn't be like > this in my opinion. Please help me. > > > The attachment is my kernel log. Limited by the mail size, I couldn't > upload my program, but I believe that the log is clear enough. > > > Thank you very much. > Best regards > > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Why does register_block release a bdev_inode instance at the end?
Hi, all: It has been known that all inodes that represent block devices are kept on the bdev pseudo-filesystem.And I thought that a bdev_inode instance is generated when the function of register_disk is called.But why does register_disk release a bdev_inode instance by calling blkdev_put at the end? BTW, my kernel is linux-2.6.32. RegardsRock Lee___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies