Re: Problems with Linux next tree

2014-07-14 Thread Alexey Tulia
Hi Lucas, To follow changes to the linux-tree tree you need to first do a remote update (this will get all the changes from the remote linux-next branch to the local origin/master tracking branch) and then reset the HEAD pointer of current checked out branch to the HEAD of linux-next remote tr

Re:Re: what does nr_iowait_cpu() do?

2014-07-14 Thread shhuiw
Right. I found the following code snippet: 3715 /* 3716 * This task is about to go to sleep on IO. Increment rq->nr_iowait so 3717 * that process accounting knows that this is a task in IO wait state. 3718 */ 3719 void __sched io_schedule(void) 3720 { 3721 struct rq *rq = raw_rq(); 372

Re: Problems with Linux next tree

2014-07-14 Thread Stone Kang
On Tue, Jul 15, 2014 at 12:52:07PM +0800, 黄钦佳 wrote: > > Due to the way the linux-next tree is built, 'git pull' won't work. > > > > You want to 'git clone' Linus's master tree, then 'git remote add' > > the Linux-next tree. Then use 'git remote update' instead of 'git pull' > > when you want to r

Re: Problems with Linux next tree

2014-07-14 Thread 黄钦佳
> Due to the way the linux-next tree is built, 'git pull' won't work. > > You want to 'git clone' Linus's master tree, then 'git remote add' > the Linux-next tree. Then use 'git remote update' instead of 'git pull' > when you want to refresh the tree. I use 'git remote update', and then try 'git

Re: what does nr_iowait_cpu() do?

2014-07-14 Thread Mohammad Merajul Islam Molla
Hi Andev, Thanks for reply. I got the definition too. What I really want to know is what this variable nr_iowait stands for? Is it counting pending input/output on a cpu? -- - Meraj On Tue, Jul 15, 2014 at 8:07 AM, Andev wrote: > On Mon, Jul 14, 2014 at 10:10 AM, Mohammad Merajul Islam Molla

Re: what does nr_iowait_cpu() do?

2014-07-14 Thread Mohammad Merajul Islam Molla
Number of processes waiting for I/O to complete on a cpu? On Tue, Jul 15, 2014 at 8:22 AM, Andev wrote: > On Mon, Jul 14, 2014 at 10:21 PM, Mohammad Merajul Islam Molla > wrote: >> Hi Andev, >> >> Thanks for reply. I got the definition too. What I really want to know >> is what this variable nr_

Re: what does nr_iowait_cpu() do?

2014-07-14 Thread Andev
On Mon, Jul 14, 2014 at 10:21 PM, Mohammad Merajul Islam Molla wrote: > Hi Andev, > > Thanks for reply. I got the definition too. What I really want to know > is what this variable nr_iowait stands for? > Is it counting pending input/output on a cpu? > > > -- > - Meraj > > > > On Tue, Jul 15, 2014

Re: what does nr_iowait_cpu() do?

2014-07-14 Thread Andev
On Mon, Jul 14, 2014 at 10:10 AM, Mohammad Merajul Islam Molla wrote: > Hello, > > I was looking into the code of cpuidle menu governor and it uses a > function nr_iowait_cpu(int cpu). > I could not find out what this function does. > > Can someone please explain what nr_iowait_cpu(int cpu) and va

Re: Using /tmp for temprory storage

2014-07-14 Thread Valdis . Kletnieks
On Mon, 14 Jul 2014 21:47:10 +0530, sagar hu said: > I am trying to log huge data into SD card(class-10), doing this operation is > causing frequent loss of data,  is there any way in which I can use /tmp for > temporary storage and frequently move the data to SD card ? This isn't a kernel questi

Re: Problems with Linux next tree

2014-07-14 Thread Valdis . Kletnieks
On Mon, 14 Jul 2014 17:57:10 -0300, Lucas Tanure said: > Hi, > > No I didn't. It is a clean linux-next tree. > Turns out that if I don't update every day I got this issue. Due to the way the linux-next tree is built, 'git pull' won't work. You want to 'git clone' Linus's master tree, then 'git re

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Was easier and faster to re-clone. So I will try your command tomorrow at another place, that internet sucks and I have the same issue. But I tried also "git pull --rebase" , and worked too. I need to understand git better too. Thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 6:

Re: Problems with Linux next tree

2014-07-14 Thread Peter Senna Tschudin
Lucas, What do you get if you do: $ git remote update On Mon, Jul 14, 2014 at 11:04 PM, Lucas Tanure wrote: > For now, the easier way is to re-clone the tree. > -- > Lucas Tanure > +55 (19) 988176559 > > > On Mon, Jul 14, 2014 at 5:57 PM, Benedict Börger > wrote: >> Hi Lucas, >> >> >> On 14.07

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
For now, the easier way is to re-clone the tree. -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 5:57 PM, Benedict Börger wrote: > Hi Lucas, > > > On 14.07.2014 22:07, Lucas Tanure wrote: >> >> Hi, >> >> My local clone of linux-tree always fails to update. >> When I run git pull origi

Re: Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Hi, No I didn't. It is a clean linux-next tree. Turns out that if I don't update every day I got this issue. So, no solution yet. Thanks -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 5:26 PM, Prabhakar Lad wrote: > Hi Lucas, > > On Mon, Jul 14, 2014 at 9:07 PM, Lucas Tanure wrot

Re: Problems with Linux next tree

2014-07-14 Thread Benedict Börger
Hi Lucas, On 14.07.2014 22:07, Lucas Tanure wrote: > Hi, > > My local clone of linux-tree always fails to update. > When I run git pull origin master, I got a : > Automatic merge failed; fix conflicts and then commit the result. > > So, How I can keep my local tree updated ? No matter what. > > Th

Re: Problems with Linux next tree

2014-07-14 Thread Prabhakar Lad
Hi Lucas, On Mon, Jul 14, 2014 at 9:07 PM, Lucas Tanure wrote: > Hi, > > My local clone of linux-tree always fails to update. > When I run git pull origin master, I got a : > Automatic merge failed; fix conflicts and then commit the result. > Form the above message looks like you have done some m

Problems with Linux next tree

2014-07-14 Thread Lucas Tanure
Hi, My local clone of linux-tree always fails to update. When I run git pull origin master, I got a : Automatic merge failed; fix conflicts and then commit the result. So, How I can keep my local tree updated ? No matter what. Thanks -- Lucas Tanure +55 (19) 988176559 _

Re: [PATCH] title: no lookup_page for if statement

2014-07-14 Thread Andev
Hi Nicholas, On Mon, Jul 14, 2014 at 2:59 PM, Paul Bolle wrote: > > Nicholas, stop! Just stop. > You have been trying to send patches fixing FIX ME for the past few days. A lot of maintainers are really upset with you since you do not follow the proper procedures while submitting patches. Lots

Using /tmp for temprory storage

2014-07-14 Thread sagar hu
Hi, I am trying to log huge data into SD card(class-10), doing this operation is causing frequent loss of data,  is there any way in which I can use /tmp for temporary storage and frequently move the data to SD card ? Any pointers on this would be helpful. Thanks, --S

what does nr_iowait_cpu() do?

2014-07-14 Thread Mohammad Merajul Islam Molla
Hello, I was looking into the code of cpuidle menu governor and it uses a function nr_iowait_cpu(int cpu). I could not find out what this function does. Can someone please explain what nr_iowait_cpu(int cpu) and variant nr_iowait() do? -- Thanks, -Meraj _

Re: some project

2014-07-14 Thread Lucas Tanure
Yes, it's good too. But you can do both. I'm cleaning up drivers and Eudyptula Challenge. -- Lucas Tanure +55 (19) 988176559 On Mon, Jul 14, 2014 at 8:30 AM, Safarin Samsudin wrote: > I join Eudyptula Challenge.. > > On 14 Jul 2014 18:39, "Oscar Salvador" > wrote: >> >> Hi to everybody! How ar

Re: some project

2014-07-14 Thread Safarin Samsudin
I join Eudyptula Challenge.. On 14 Jul 2014 18:39, "Oscar Salvador" wrote: > Hi to everybody! How are you? > > I'm new here, and I was looking the kernelnewbies website to search > some information explaining how a newbie should start in this area. > The problem is I think that > http://kernelnew

Re: some project

2014-07-14 Thread Lucas Tanure
I'm in the same situation. Looking for something to do. I found , http://kernelnewbies.org/OPWfirstpatch, ok it's for women, but it is a really nice documentation about how get started. So, maybe, before write something cool for kernel, it's good to just to clean up a driver. In this process you le

some project

2014-07-14 Thread Oscar Salvador
Hi to everybody! How are you? I'm new here, and I was looking the kernelnewbies website to search some information explaining how a newbie should start in this area. The problem is I think that http://kernelnewbies.org/KernelJanitors/Todo and http://kernelnewbies.org/KernelProjects are outdated, s

Re:Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-14 Thread shhuiw
Some info needed: * Output of 'getconf PAGESIZE' [or PAGE_SIZE] on 2 systems * Output of 'free' before and after the application run on the 2 systems * Output of 'top' on the 2 systems * Does the application call mlock on the mmaped area? -- Regards, shhuiw At 2014-07-14 03:04:50, "Amit A

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-14 Thread Amit Agarwal
On 14-07-2014 12:20, shhuiw wrote: > Will you please show us your application code, if possible? Or at > least the mmap part. The application code is proprietary, so I cannot disclose that. For the mmap part, we are not doing mmap explicitly in our code, rather the binary is linked to some dynam