32 bit and 64 bit---- doubt

2008-09-29 Thread nidhi mittal
Hi all its a very basic ques may be for many of you .but i have this confusion from long that is. when we say this application is 32 bit application or 64 bit what do we mean by that is it processor which is 32 bit or 64 bit or the OS which is is 32 bit or 64 bit or what ? 2. Does it have some

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread pradeep singh
On Mon, Sep 29, 2008 at 12:42 PM, nidhi mittal [EMAIL PROTECTED] wrote: Hi all its a very basic ques may be for many of you .but i have this confusion from long that is. when we say this application is 32 bit application or 64 bit what do we mean by that is it processor which is 32 bit or

Re: About Bad Magic Number

2008-09-29 Thread pradeep singh
On Tue, Sep 23, 2008 at 7:27 PM, mayank rana [EMAIL PROTECTED] wrote: Hi All, I am sending fasync from my driver to user space application. While sending fasync, I am getting below error : kill_fasync:bad magic number in fasync_struct ! Can anyone suggest any solution for this ? You fs

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Kalpesh Rathod
Apart from these, following wiki link best describes what makes an architecture as 64 bit. http://en.wikipedia.org/wiki/64-bit On Mon, Sep 29, 2008 at 1:22 PM, pradeep singh [EMAIL PROTECTED]wrote: On Mon, Sep 29, 2008 at 12:42 PM, nidhi mittal [EMAIL PROTECTED] wrote: Hi all its a very

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Bernd Petrovitsch
On Mon, 2008-09-29 at 12:42 +0530, nidhi mittal wrote: Hi all its a very basic ques may be for many of you .but i have this confusion from long that is. when we say this application is 32 bit application or 64 bit what do we mean by that is it processor which is 32 bit or 64 bit

Re: About Bad Magic Number

2008-09-29 Thread Erik Mouw
On Mon, 29 Sep 2008 13:24:28 +0530 pradeep singh [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 7:27 PM, mayank rana [EMAIL PROTECTED] wrote: Hi All, I am sending fasync from my driver to user space application. While sending fasync, I am getting below error : kill_fasync:bad magic

network delay simulation

2008-09-29 Thread Bizhan Gholikhamseh (bgholikh)
Hi all, Is there a mechanism to simulate random network latencies within kernel? for example do a net/scheduler or just FIFO delay within network driver? Regards, Bizhan

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Pranav Peshwe
On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int size According to the C standard, sizeof(int) is the native register width. And that is basically defined by the CPU. So if sizeof(int) == 2,

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Bernd Petrovitsch
On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote: On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int size According to the C standard, sizeof(int) is the native

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Sunil
On Mon, Sep 29, 2008 at 5:46 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote: On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Pranav Peshwe
On Mon, Sep 29, 2008 at 5:46 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote: On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int

Re: network delay simulation

2008-09-29 Thread Alan Menegotto
Bizhan Gholikhamseh (bgholikh) escreveu: Hi all, Is there a mechanism to simulate random network latencies within kernel? for example do a net/scheduleror just FIFO delay within network driver? Regards, Bizhan pktgen can help you.

Re: inode and blocks

2008-09-29 Thread Rohit Sharma
Not an assignment actually, but a project. We are working on open hierarchical storage management, in which we store files on disks according to different file placement policies. For eg. if i say that all the important files, like all the employee database should be in disk 1 and all the songs on

Re: How to know the maximum memory pages that can be allocated?

2008-09-29 Thread pradeep singh
On Mon, Sep 29, 2008 at 9:48 AM, Peter Teoh [EMAIL PROTECTED] wrote: I would like to know the maximum memory I can allocate (using alloc_page()) in GFP_KERNEL and __GFP_HIGHMEM memory area - how can I know that? Peter, I doubt you can precisely know that at any given time. :) A lot of issues

Re: How to know the maximum memory pages that can be allocated?

2008-09-29 Thread Peter Teoh
thank you pradeep singh for the sharing. In the /proc/meminfo, I saw this (and my questions follows): MemTotal: 3046884 kB MemFree: 1502524 kB ===this is the physical free memory? Buffers: 90820 kB Cached: 624168 kB SwapCached: 0 kB Active: 964128 kB

Re: why not new-style I2C eeprom driver?

2008-09-29 Thread Wolfram Sang
Hello Srinivas, On Mon, Sep 29, 2008 at 10:33:31AM +0530, [EMAIL PROTECTED] wrote: Would like to know why the I2C eeprom driver is not upgraded to new-style? Have you checked the latest kernel sources? Since 2.6.27-rc there is AT24 which should meet your needs. Why is that some devices

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread SK malik
32 bit. app 1) The addresses are limited to 32 bit(can be more in some cases). The address space is limited to this value. 2) It will run on both 32 bit OS and 64 bit OS(64 bit OS can run 32 bit apps) 3) A pointer is of 4 bytes. 4) some other differences wrt to other data types 64bit app: 1)

Re: inode and blocks

2008-09-29 Thread Sunil
On Mon, Sep 29, 2008 at 8:03 PM, Rohit Sharma [EMAIL PROTECTED] wrote: Not an assignment actually, but a project. We are working on open hierarchical storage management, in which we store files on disks according to different file placement policies. For eg. if i say that all the important

.config versioning?

2008-09-29 Thread Simon
Hi there, I have 3 computers, they are all slightly different yet they all require pretty much the same basic options. However, I am still a newbie with the kernel and have found it tedious try to make such hardware work or have it work in such a way... to the point where I just forget