Re: How much control does a block driver have over the buffer cache?

2011-07-13 Thread Mulyadi Santosa
On Wed, Jul 13, 2011 at 07:30, Neil Baylis neil.bay...@gmail.com wrote: For example, would it be possible to create a block driver that does not use the buffer cache? I think the answer must be 'no' because the caching happens before the block driver gets any requests to move data. something

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?

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

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:

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,

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 amit mehta
Tons of resource http://wiki.osdev.org/ On Wed, Jul 13, 2011 at 2:07 PM, Vaibhav Jain vjoss...@gmail.com 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

Re: how to apply patches from git ?

2011-07-13 Thread Jeff Kirsher
On Wed, Jul 13, 2011 at 00:22, RKK kulkarni.ra...@gmail.com 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

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

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

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 gmate.a...@gmail.com wrote: Tons of resource http://wiki.osdev.org/ On Wed, Jul 13, 2011 at 2:07 PM, Vaibhav Jain vjoss...@gmail.com wrote: Hi, Thanks for the link.I

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 called.

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: Need basics of booting process

2011-07-13 Thread Tapas Mishra
On Wed, Jul 13, 2011 at 1:11 AM, Pavan Kandepet pava...@gmail.com 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

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 kulkarni.ra...@gmail.com 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

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 kulkarni.ra...@gmail.com 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

Re: how to apply patches from git ?

2011-07-13 Thread esmaeil mirzaee
On Wed, Jul 13, 2011 at 9:40 AM, Anand Arumugam anand.aru...@gmail.comwrote: Take a look at 'git apply' and 'git format-patch' commands. On Wed, Jul 13, 2011 at 3:22 AM, RKK kulkarni.ra...@gmail.com wrote: Hi all, Sorry if this is a basic question. How do i take patches from e-mail?

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 gmate.a...@gmail.com 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

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:

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

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

Re: File System concept

2011-07-13 Thread Greg Freemyer
On Tue, Jul 12, 2011 at 9:44 AM, Ajay kumar a2008...@gmail.com 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.

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.

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 shubham20...@gmail.com wrote: I am trying to write a memory based file system. The file system is

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 agnel.j...@gmail.com 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

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

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 jha...@bytemobile.com 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:*

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

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

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 is there something im