Re: boot Linux from Linux

2008-12-03 Thread dinesh bansal
on-the-top of existing Linux Operating System? Then you should take a look at virtualization. -- Dinesh Bansal The Law of Win says, Let's not do it your way or my way; let's do it the best way.

Re: Not able to ping two ethernet interfaces connected using cross cable in same PC.

2008-11-25 Thread dinesh bansal
not able to ping anyone of those interfaces using ping command. Can anyone give some inputs on this? Thanks, Bhavesh. use netmask as 255.255.255.254 at both place. -- Dinesh Bansal The Law of Win says, Let's not do it your way or my way; let's do it the best way.

Re: Why two stacks per process?

2008-04-24 Thread dinesh bansal
loads and unloads the process specific data. We cannot use single stack because memory is accessed in a different way in user mode and in kernel mode. And in some systems, even the memory area is different for kernel and user processes. -- Dinesh Bansal The Law of Win says, Let's not do it your way

Re: why do we use while (0)

2007-12-25 Thread dinesh bansal
to execute more than once? Cannot we simply do - #define INIT_LIST_HEAD(ptr){(ptr)-next = (ptr); (ptr)-prev = (ptr)} Do we get some kind of optimization by using while (0)? Thanks -- Dinesh Bansal The Law of Win says, Let's not do it your way or my way; let's do it the best way.