Grub menu entry without root= in SLES11SP2 machine

2013-01-21 Thread Chaitanya Gotkhindikar
Hello, I am trying to write a script that parse /boot/grub/menu.lst. On SLES11 SP2 installed machine I observed that no root=device entry specified in menu entry of grub.However, the system boots up properly on reboots. - 8

Re: what is the difference between the two command?

2013-01-21 Thread horseriver
On Sun, Jan 20, 2013 at 09:07:15AM -0800, Ian Lance Taylor wrote: On Sat, Jan 19, 2013 at 1:30 PM, horseriver horseriv...@gmail.com wrote: On Sat, Jan 19, 2013 at 09:47:53PM -0800, Ian Lance Taylor wrote: On Fri, Jan 18, 2013 at 10:19 PM, horseriver horseriv...@gmail.com wrote: hi:

Re: what is the difference between the two command?

2013-01-21 Thread Anuz Pratap Singh Tomar
On Mon, Jan 21, 2013 at 1:01 AM, horseriver horseriv...@gmail.com wrote: On Sun, Jan 20, 2013 at 09:07:15AM -0800, Ian Lance Taylor wrote: On Sat, Jan 19, 2013 at 1:30 PM, horseriver horseriv...@gmail.com wrote: On Sat, Jan 19, 2013 at 09:47:53PM -0800, Ian Lance Taylor wrote: On Fri,

File system development question

2013-01-21 Thread Racz Zoltan
Hi. Some days ago I started studying the linux VFS api, and until now I wrote a mountable only file system. I would like to go further than that, but I didn`t find any good documentations on google. Some of them are incomplete, others are written for the 2.4 kernel series etc. Can somebody

Re: how to get outsated mail ?

2013-01-21 Thread Bernd Petrovitsch
Hi! The question is way off-topic here. On Sam, 2013-01-19 at 04:59 +0800, horseriver wrote: On Fri, Jan 18, 2013 at 10:26:12PM -0800, Dave Hylands wrote: [...] On Fri, Jan 18, 2013 at 10:53 AM, horseriver horseriv...@gmail.com wrote: [...] If I subscribed a mail list at date x , how can

Re: File system development question

2013-01-21 Thread Prashant Shah
Hi, On Mon, Jan 21, 2013 at 4:53 PM, Racz Zoltan racz.z...@gmail.com wrote: Hi. Some days ago I started studying the linux VFS api, and until now I wrote a mountable only file system. I would like to go further than that, but I didn`t find any good documentations on google. Try older

Re: How does __user works?

2013-01-21 Thread Bernd Petrovitsch
On Sam, 2013-01-19 at 17:34 +0100, Grzegorz Dwornicki wrote: How does __user macro works? I know it is defined in include/linux/compiler.h as: # define __user.__attribute__((noderef, address_space(1))) I could write thesse macros defs too but my real problem is: what does this stuff

bitops or mutex

2013-01-21 Thread Prashant Shah
Hi, There is a bitmap that needs to be locked across many threads for test / set bit operations. Which one is faster - bitops or mutex ? 1. Bitops : set_bit(5, (long unsigned *)tmp); 2. Mutex : mutex_lock(m); *tmp = (*tmp) | (1 5); mutex_unlock(m); Regards.

Re: bitops or mutex

2013-01-21 Thread Valdis . Kletnieks
On Mon, 21 Jan 2013 19:16:47 +0530, Prashant Shah said: There is a bitmap that needs to be locked across many threads for test / set bit operations. Which one is faster - bitops or mutex ? 1. Bitops : set_bit(5, (long unsigned *)tmp); 2. Mutex : mutex_lock(m); *tmp = (*tmp) | (1 5);

[ARM-MM initialisation]free_highpages() taking more time....

2013-01-21 Thread sandeep kumar
Dear All I am facing an issue during bootup of the android JB device. During my analysis, i came to know that it is taking 3sec time in freeing the high memory pages, while other devices are taking almost no time. the code is in arch/arm/mm/init.c , free_highpages(). We have almost 1456MB of

Can jiffies freeze?

2013-01-21 Thread sandeep kumar
Hi all As far as I know jiffie counter is incremented HZ times/second. And it is used to measure the time lapses in the kernel code. I m seeing a case where, actualy time spent in some module using giffies is zero, but while seeing UART logs i am seein 2 sec time difference. I dont know how to

Re: Can jiffies freeze?

2013-01-21 Thread anish singh
On Tue, Jan 22, 2013 at 11:21 AM, sandeep kumar coolsandyfor...@gmail.com wrote: Hi all As far as I know jiffie counter is incremented HZ times/second. And it is used to measure the time lapses in the kernel code. I m seeing a case where, actualy time spent in some module using giffies is