Re: a conceptual confusion -- bio--page --block -- buffer

2009-11-07 Thread Joel Fernandes
My questions: 1. Why wouldn't the kernel create a buffer page even for pages that contain physically adjacent blocks? Why are pages that contain physically adjacent blocks given special treatment? I'm sorry I meant- why are pages that don't contain physical adjacent blocks given special

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread hmthalib
nidhi mittal hada wrote: Can someone come and please clarify -- it finally above chain of mail raises more confusion as conflict stays till end. 1)processor 32/64 bit -- a)data it can process at one instance --- register size --- data bus size -- OR b)internal address bus size of

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread hmthalib
Rick Brown wrote: Hi, Firstly, I'm trying to understand what exactly characterizes a procesor or an operating system as 32bit / 64 bit. I've read that it means the native word size of a machine. But what exactly is that? Register size? Address bus size? Anything else? depends on the data bus

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread vkm
hmthalib wrote: nidhi mittal hada wrote: Can someone come and please clarify -- it finally above chain of mail raises more confusion as conflict stays till end. 1)processor 32/64 bit -- a)data it can process at one instance --- register size --- data bus size -- OR b)internal

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread hmthalib
vkm wrote: hmthalib wrote: nidhi mittal hada wrote: Can someone come and please clarify -- it finally above chain of mail raises more confusion as conflict stays till end. 1)processor 32/64 bit -- a)data it can process at one instance --- register size --- data bus size -- OR

Re: Doubt in sizeof () operator

2009-11-07 Thread hmthalib
govind raj nayak wrote: Hi, While going through the code of IPC semaphore implementation, I encountered a statement: new = ipc_rcu_alloc(sizeof(struct kern_ipc_perm *)*newsize +sizeof(struct ipc_id_ary)) I am not able to understand how memory will be allocated by the above statement.

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread microbit
Hi all, I've already covered all of this in an earlier post, but here goes again anyway : On Sat, 07 Nov 2009 15:40:16 +0530, hmthalib hmtha...@gmail.com wrote: nidhi mittal hada wrote: Can someone come and please clarify -- it finally above chain of mail raises more confusion as conflict

Re: modprobe error No such device udc driver

2009-11-07 Thread Katharina Ludwig
Hello Thomas, First of all, I have to admit that I did not use USB gadgets before. Did you read the information at http://www.linux-usb.org/gadget/ ? You may also get more relevant information from the linux-usb-devel mailing list. That being said, I am confused about your setup. You

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread hmthalib
micro...@virginbroadband.com.au wrote: Hi all, I've already covered all of this in an earlier post, but here goes again anyway : On Sat, 07 Nov 2009 15:40:16 +0530, hmthalib hmtha...@gmail.com wrote: nidhi mittal hada wrote: Can someone come and please clarify -- it finally above chain of

Calling driver functions from kernel space

2009-11-07 Thread Sam Carter
Hi all, I have a char driver/module which compiles and loads into the linux kernel just fine. In this driver are some functions which I would like to access from the kernel file 'fs/readdir.c'. Additionally, how can I test if a driver is loaded? I need something like the following. if(myDriver