Re: how to apply patches from git ?

2011-07-13 Thread RKK
Hi >>>  Hi all, >>> >>> Sorry if this is a basic question. >>> How do i take patches from e-mail? >>>  for example git send mail sends patches as e-mail >>> >>> if someone wants to apply that patch to his branch then how do i get >>> that in . patch format and then use >>> patch -p1 *.patch  or i

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Joel A Fernandes
On Wed, Jul 13, 2011 at 9:41 PM, Mulyadi Santosa wrote: > On Wed, Jul 13, 2011 at 14:33, Vaibhav Jain wrote: >> Hi, >> >> I am eager to understand the basics of Memory models  (flat, segmented etc) >> , CPU modes (real,protected) >> and address translation (physical to logical etc.) and how all o

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Mulyadi Santosa
On Wed, Jul 13, 2011 at 14:33, Vaibhav Jain wrote: > Hi, > > I am eager to understand the basics of Memory models  (flat, segmented etc) > , CPU modes (real,protected) > and address translation (physical to logical etc.) and how all of them work > together. maybe something like this? http://tldp

Why is the clear_bit() a specical bitop?

2011-07-13 Thread Parmenides
Hi, When reading asm/bitops.h, I have some questions about bit clear operations. p.s. the link: http://lxr.linux.no/linux+v2.6.34/arch/x86/include/asm/bitops.h The clear_bit() is defined as follows: /**  * clear_bit - Clears a bit in memory  * @nr: Bit to clear  * @addr: Address to start countin

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Vaibhav Jain
Hi, Thanks a lot for the resources! I just had a cursory look at them and could see that they explain virtual memory and address translation in depth. Just wanted to ask if they explain the concepts Memory models (flat, segmented ) and cpu modes (real,protected) equally well. I am more confused ab

Device mapper header file error

2011-07-13 Thread Adil Mujeeb
Hi List, ** ** I am trying to compile a kernel module which uses the device mapper header files (dm.h and dm-bio-list.h). I checked in the stock kernel source that these files are present under drivers/md directory. When I try to build the module, it gives error for these header files as

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Anuz Pratap Singh Tomar
On Wed, Jul 13, 2011 at 6:29 PM, Jeff Haran wrote: > ** ** > > ** ** > > *From:* kernelnewbies-boun...@kernelnewbies.org [mailto: > kernelnewbies-boun...@kernelnewbies.org] *On Behalf Of *Vaibhav Jain > *Sent:* Wednesday, July 13, 2011 1:38 AM > *To:* Daniel Baluta > *Cc:* kernelnewbies@kernelnew

RE: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Jeff Haran
From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Vaibhav Jain Sent: Wednesday, July 13, 2011 1:38 AM To: Daniel Baluta Cc: kernelnewbies@kernelnewbies.org Subject: Re: Need help understanding memory models,cpu modes and address transl

Re: query regarding inode pages

2011-07-13 Thread shubham sharma
Hi Joel, On Wed, Jul 13, 2011 at 9:28 PM, Joel A Fernandes wrote: > [CC'ing list] > > Hi Shubham, > > I am not very familiar with the code for pdflush. But wasn't it > superseded by bdflush (or similar) in recent kernels? I don't know about the bdflush daemon, but I guess that pdflush daemon has

Re: query regarding inode pages

2011-07-13 Thread Joel A Fernandes
[CC'ing list] Hi Shubham, I am not very familiar with the code for pdflush. But wasn't it superseded by bdflush (or similar) in recent kernels? On Wed, Jul 13, 2011 at 10:45 AM, shubham sharma wrote: > I am trying to write a memory based file system. The file system is > intended to create file

query regarding inode pages

2011-07-13 Thread shubham sharma
I am trying to write a memory based file system. The file system is intended to create files/directories and write their contents only on pages. For this I have used the function grab_cache_page() function to get a new locked page in case the page does not exists in the radix tree of the inode. As

Re: File System concept

2011-07-13 Thread Greg Freemyer
On Tue, Jul 12, 2011 at 9:44 AM, Ajay kumar wrote: > Where can I read about different file system features ?? > snapshots, journaling etc.. > > Regards, > Onkar I find wikipedia surprisingly good as a starting point for questions like that. eg. http://en.wikipedia.org/wiki/Snapshot_%28computer_s

Re: Regarding the basic use of perf top command

2011-07-13 Thread Vipin
Hi, I think this should suffice https://perf.wiki.kernel.org/index.php/Tutorial#Live_analysis_with_perf_top Rest of the information is archived here http://lxr.linux.no/linux+v2.6.39/tools/perf/Documentation/ The value of 1000Hz means the frequency at which the system's timer is programmed to

Kernel development process questions

2011-07-13 Thread Joel A Fernandes
Hi, I went over the development process Documentation/ in the kernel tree, and had the following question: With respect to Linux Kernel development process, what does the word "stage" mean? It is the process of getting patches into Greg's staging tree, or is it linux-next? Or depends on the conte

Regarding the basic use of perf top command

2011-07-13 Thread ankur dwivedi
Hi, My question is regarding the basic use of perf top command in linux. The following is the snap shot of running a "*perf top -e cache-misses*" command from console:

Re: Need help: How to set .RECIPEPREFIX variable to whitespaces

2011-07-13 Thread DG
On Wed, Jul 13, 2011 at 1:52 AM, amit mehta wrote: > Hi, > > How to set .RECIPEPREFIX variable to whitespace(say 4 whitespces) , so that > make uses this particular set of characters to identify the recipe for > a particular target. > In my $HOME/.vimrc file, for code indentation purpose, I've put

Re: how to apply patches from git ?

2011-07-13 Thread esmaeil mirzaee
On Wed, Jul 13, 2011 at 9:40 AM, Anand Arumugam wrote: > Take a look at 'git apply' and 'git format-patch' commands. > > On Wed, Jul 13, 2011 at 3:22 AM, RKK wrote: > > Hi all, > > > > Sorry if this is a basic question. > > How do i take patches from e-mail? > > for example git send mail sends

Re: how to apply patches from git ?

2011-07-13 Thread Anand Arumugam
Take a look at 'git apply' and 'git format-patch' commands. On Wed, Jul 13, 2011 at 3:22 AM, RKK wrote: >  Hi all, > > Sorry if this is a basic question. > How do i take patches from e-mail? >  for example git send mail sends patches as e-mail > > if someone wants to apply that patch to his branc

Re: how to apply patches from git ?

2011-07-13 Thread Christopher Harvey
On Wed, 13 Jul 2011 02:16:09 -0700, Jeff Kirsher wrote: > On Wed, Jul 13, 2011 at 00:22, RKK wrote: >>  Hi all, >> >> Sorry if this is a basic question. >> How do i take patches from e-mail? >>  for example git send mail sends patches as e-mail >> >> if someone wants to apply that patch to his bra

Re: Need basics of booting process

2011-07-13 Thread Tapas Mishra
On Wed, Jul 13, 2011 at 1:11 AM, Pavan Kandepet wrote: > Check this one out: > http://milindchoudhary.wordpress.com/2009/03/30/linux-boot-process/ > > Another one: > > http://duartes.org/gustavo/blog/post/kernel-boot-process > > Hope this helps, > Pavan > > > > On Tue, Jul 12, 2011 at 11:07 AM, M

Questions regarding console drivers..

2011-07-13 Thread sandeep kumar
Hi all, I have gone through the kernel/kernel/printk.c file. And i have the following questions.. I have some rough idea of several things, but i need to conform them 1) What is a console driver? --> My idea is it allows the kernel to input or output the characters

Re: xx_initcall ( ) in kernel

2011-07-13 Thread nilesh
Hi Sumeet, On Wednesday 13 July 2011 04:12 PM, sumeet linux wrote: > Dear friends, > > I want to know the basics xx_initcall ( ) in linux kernel. How this function > works ? > Observed in kernel code, many places late_initcall ( ), early_initcall ( ), > arch_initcall ( ), core_initcall ( ) gets ca

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Paraneetharan Chandrasekaran
The document and osdev are very good and useful. Thanks a lot. - Paraneetharan C On 13 July 2011 14:23, amit mehta wrote: > Tons of resource > http://wiki.osdev.org/ > > On Wed, Jul 13, 2011 at 2:07 PM, Vaibhav Jain wrote: > > Hi, > > > > Thanks for the link.I really appreciate but I need some

xx_initcall ( ) in kernel

2011-07-13 Thread sumeet linux
Dear friends, I want to know the basics xx_initcall ( ) in linux kernel. How this function works ? Observed in kernel code, many places late_initcall ( ), early_initcall ( ), arch_initcall ( ), core_initcall ( ) gets called. When did all these functions gets call during kernel initialization ? I a

Re: Query about a PCI device error detection.

2011-07-13 Thread Nilesh
Resending the email to kernelnewbies list as well (have sent the same to edac mailing list). Appreciate any pointers on below query, if any one has worked on edac. On Wednesday 06 July 2011 03:56 PM, nilesh wrote: > Hi, > > I am fairly new to the edac driver and have some basic query regarding >

Re: how to apply patches from git ?

2011-07-13 Thread Jeff Kirsher
On Wed, Jul 13, 2011 at 00:22, RKK wrote: >  Hi all, > > Sorry if this is a basic question. > How do i take patches from e-mail? >  for example git send mail sends patches as e-mail > > if someone wants to apply that patch to his branch then how do i get > that in . patch format and then use > pat

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread amit mehta
Tons of resource http://wiki.osdev.org/ On Wed, Jul 13, 2011 at 2:07 PM, Vaibhav Jain wrote: > Hi, > > Thanks for the link.I really appreciate but I need something more basic and > something that > explains these concepts from a broader perspective and not in the context of > a > particular cpu a

RE: flush_cache_all API

2011-07-13 Thread 雷刚
Hi : The SCU can solve all the cache coherency problems? From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Vladimir Murzin Sent: 2011年7月11日 17:51 To: naveen yadav Cc: kernelnewbies@kernelnewbies.org Subject: Re: flush_cache_all API On

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Vaibhav Jain
Hi, Thanks for the link.I really appreciate but I need something more basic and something that explains these concepts from a broader perspective and not in the context of a particular cpu architecture.Please send me more such links if you come across any. Thanks Vaibhav Jain On Wed, Jul 13, 201

Re: Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Daniel Baluta
Hi, > I am eager to understand the basics of Memory models  (flat, segmented etc) > , CPU modes (real,protected) > and address translation (physical to logical etc.) and how all of them work > together. I am very confused > about this and would really appreciate if someone could provide good > ref

Need help: How to set .RECIPEPREFIX variable to whitespaces

2011-07-13 Thread amit mehta
Hi, How to set .RECIPEPREFIX variable to whitespace(say 4 whitespces) , so that make uses this particular set of characters to identify the recipe for a particular target. In my $HOME/.vimrc file, for code indentation purpose, I've put the following entries to replace tabs with 4 whitespaces: <<>

Need help understanding memory models, cpu modes and address translation

2011-07-13 Thread Vaibhav Jain
Hi, I am eager to understand the basics of Memory models (flat, segmented etc) , CPU modes (real,protected) and address translation (physical to logical etc.) and how all of them work together. I am very confused about this and would really appreciate if someone could provide good references to t

how to apply patches from git ?

2011-07-13 Thread RKK
Hi all, Sorry if this is a basic question. How do i take patches from e-mail? for example git send mail sends patches as e-mail if someone wants to apply that patch to his branch then how do i get that in . patch format and then use patch -p1 *.patch or is there something im missing here? than