Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Vlad Dogaru
On Tue, Apr 02, 2013 at 05:54:56AM +0300, Kevin Wilson wrote: > Hi? > Any idea what is the difference "cgroup.procs" entry and "tasks" > entry of cgroup sysfs? > both represent pid lists. > I ran: > cat /sys/fs/cgroup/cpuset/cgroup.procs > and > cat /sys/fs/cgroup/cpuset/tasks > and entries of cg

What is idr_alloc()

2013-04-02 Thread Manavendra Nath Manav
In the source code implementation it says idr_alloc() is used to allocate new idr entry. I couldn't find the man page and want to know why it is used especially when writing drivers for MTD devices. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewb

Re: [help] kernel oops in function gpio_to_irq

2013-04-02 Thread Mylene Josserand
Hi Matthias, Le 30/03/2013 14:09, Matthias Brugger a écrit : > > El 27/03/2013 18:16, "Mylene Josserand" > va escriure: > > > > Hi everyone, > > > > > > I have a problem with gpio functions. > > My kernel version is 3.8.2 and my SoC is a imX27 on a "hom

Method to calculate user space thread size

2013-04-02 Thread naveen yadav
Dear All, I have very complex user space application contain more then 400 threads. I want to limit the stack size in user space, for this I want to know how much stack size each thread use in worst case. To calculate this is I need to modify in kernel ? or current kernel have any support ? or is

Re: kernel build error

2013-04-02 Thread Mulyadi Santosa
On Tue, Apr 2, 2013 at 1:19 PM, Kumar amit mehta wrote: > On Tue, Apr 02, 2013 at 10:04:31AM +0700, Mulyadi Santosa wrote: > > Could you paste roughly 20-30 lines of boot messages when you hit the > hung > > point? Kernel config alone usually can't help much > > I'm trying this on a Virtual Machin

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Kevin Wilson
Hi, Thanks a lot Vlad. This explains it. - Does anybody know of a ps command (or a filter to ps command) which will display only multithreaded processes (list processes by TGID) ? (I know now about the option of displaying cgroup.procs , but is something parallel can be done with ps ? ) rgs, Ke

Re: Reading linux boot args

2013-04-02 Thread Valdis . Kletnieks
On Tue, 02 Apr 2013 12:12:09 +0900, manty kuma said: > Is there any way i could read the reason for reboot. > I want to read it so that i can get the reason that is stored. > like 0xABADBABE is watchdog 0xCODEDEAD is panic. Etc.. > > Please suggest an alternative approach. > See the 'pstore' pers

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Valdis . Kletnieks
On Tue, 02 Apr 2013 16:46:24 +0300, Kevin Wilson said: > Hi, > Thanks a lot Vlad. This explains it. > - Does anybody know of a ps command (or a filter to ps command) > which will display only multithreaded > processes (list processes by TGID) ? (I know now about the option of > displaying cgroup

Re: Online migration of arbitrary filesystems, possible?

2013-04-02 Thread Valdis . Kletnieks
On Mon, 01 Apr 2013 17:50:43 -0300, Daniel Hilst said: > > Any reason you can't just 'rsync /source-fs /dest-fs'? > > > because I can't use dest-fs while rsynching Sure you can. You just have to remember to pay attention to race conditions - if you create foo/bar.dat on the dest and then rsync wa

Biggest Fake Conference in Computer Science

2013-04-02 Thread newtonhanes
We are researchers from different parts of the world and conducted a study on the world’s biggest bogus computer science conference WORLDCOMP ( http://sites.google.com/site/worlddump1 ) organized by Prof. Hamid Arabnia from University of Georgia, USA. We submitted a fake paper to WORLDCOMP 20

Re: Biggest Fake Conference in Computer Science

2013-04-02 Thread Valdis . Kletnieks
On Tue, 02 Apr 2013 18:57:10 -0400, newtonha...@hushmail.com said: > Also, our paper did not express any conceptual meaning. However, it > was accepted both the times without any modifications (and without > any reviews) and we were invited to submit the final paper and a > payment of $500+ fee t

Re: Reading linux boot args

2013-04-02 Thread manty kuma
Hi Valdis, Thansk for answer. I have made use of saved_command_linbe buffer that is available in all modules(extern present in linux/init.h) Best Regards, Manty On Wed, Apr 3, 2013 at 3:07 AM, wrote: > On Tue, 02 Apr 2013 12:12:09 +0900, manty kuma said: > > > Is there any way i could read the

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Rami Rosen
Hi, BTW, for a given thread group with a specified TGID, you can view all the threads PIDs in that thread group thus: pstree -p TGID and: pstree TGID will give one line; It visually merges identical branches by putting them in square brackets and prefixing them with the repetition count. Regard

Re: Method to calculate user space thread size

2013-04-02 Thread Mulyadi Santosa
On Tue, Apr 2, 2013 at 7:55 PM, naveen yadav wrote: > Dear All, > > I have very complex user space application contain more then 400 threads. I > want to limit the stack size in user space, for this I want to know how much > stack size each thread use in worst case. > > To calculate this is I need

Re: Method to calculate user space thread size

2013-04-02 Thread Sankar P
On Tue, Apr 2, 2013 at 6:25 PM, naveen yadav wrote: > Dear All, > > I have very complex user space application contain more then 400 threads. I > want to limit the stack size in user space, for this I want to know how much > stack size each thread use in worst case. Well, this does not answer you