Re: Why we Use both mm_users and mm_count in struct mm_struct{ }

2013-03-25 Thread anish singh
On Mon, Mar 25, 2013 at 1:35 AM, Rami Rosen roszenr...@gmail.com wrote: Hi, Niroj, Please look at the following scenario: Suppose we create a kernel thread. With kernel threads, the mm member of the task_struct is NULL. (We are not permitted to access user space addresses from kernel thread,

Re: Why we Use both mm_users and mm_count in struct mm_struct{ }

2013-03-25 Thread Niroj Pokhrel
On Mon, Mar 25, 2013 at 11:32 AM, anish singh anish198519851...@gmail.comwrote: On Mon, Mar 25, 2013 at 1:35 AM, Rami Rosen roszenr...@gmail.com wrote: Hi, Niroj, Please look at the following scenario: Suppose we create a kernel thread. With kernel threads, the mm member of the

Re: Why we Use both mm_users and mm_count in struct mm_struct{ }

2013-03-25 Thread Rami Rosen
Hi, Regarding your question about the previous thread: Think of a context switch, let's say between a userspace process and a kernel thread. A context switch is done between two processes (processes are represented by struct task_struct). So when you look at context_switch() prototype, you see:

Re: Why we Use both mm_users and mm_count in struct mm_struct{ }

2013-03-25 Thread anish singh
On Mon, Mar 25, 2013 at 12:16 PM, Rami Rosen roszenr...@gmail.com wrote: Hi, Regarding your question about the previous thread: Think of a context switch, let's say between a userspace process and a kernel thread. A context switch is done between two processes (processes are represented by

Re: kernel build error

2013-03-25 Thread Mulyadi Santosa
On 3/25/13, Kumar amit mehta gmate.a...@gmail.com wrote: Thank you so much for your help. Meanwhile I have updated my workspace with the latest linux-next tree and will later try out the options that you've mentioned. You welcome. BTW, (fortunately you already done so), it's better to retest

feature removal schedule is removed ?

2013-03-25 Thread David Shwatrz
Hi, Once upon a time there was a feature removal schedule in Documentation: http://lxr.free-electrons.com/source/Documentation/feature-removal-schedule.txt?v=3.6 Was it removed ? I cannot find it in recent kernels (like 3.9.0-rc4) Rgs DS ___

Re: feature removal schedule is removed ?

2013-03-25 Thread Tobias Boege
On Mon, 25 Mar 2013, David Shwatrz wrote: Hi, Once upon a time there was a feature removal schedule in Documentation: http://lxr.free-electrons.com/source/Documentation/feature-removal-schedule.txt?v=3.6 Was it removed ? I cannot find it in recent kernels (like 3.9.0-rc4) git would know:

Re: feature removal schedule is removed ?

2013-03-25 Thread Jonathan Neuschäfer
On Mon, Mar 25, 2013 at 10:15:22AM +0200, David Shwatrz wrote: Hi, Once upon a time there was a feature removal schedule in Documentation: http://lxr.free-electrons.com/source/Documentation/feature-removal-schedule.txt?v=3.6 Was it removed ? I cannot find it in recent kernels (like

Re: question about

2013-03-25 Thread Rami Rosen
Hi, In init_clocksource_sysfs() method, device_register() adds the folder: /sys/devices/system/clocksource/clocksource0, whereas subsys_system_register() adds the parent folder (/sys/devices/system/clocksource) see: http://lxr.free-electrons.com/source/kernel/time/clocksource.c#L902 rgs,

Re: BFQ: simple elevator

2013-03-25 Thread Raymond Jennings
On Sat, Mar 23, 2013 at 7:38 AM, Matthias Brugger matthias@gmail.com wrote: On 03/20/2013 10:41 PM, Raymond Jennings wrote: On Wed, Mar 20, 2013 at 2:03 PM, valdis.kletni...@vt.edu wrote: On Thu, 21 Mar 2013 02:24:23 +0700, Mulyadi Santosa said: pardon me for any possible sillyness,

Re: BFQ: simple elevator

2013-03-25 Thread Raymond Jennings
On Sat, Mar 23, 2013 at 9:42 AM, Matthias Brugger matthias@gmail.com wrote: On 03/23/2013 01:05 AM, Raymond Jennings wrote: On Fri, Mar 22, 2013 at 2:20 PM, valdis.kletni...@vt.edu wrote: On Fri, 22 Mar 2013 13:53:45 -0700, Raymond Jennings said: The first heap would be synchronous

Re: BFQ: simple elevator

2013-03-25 Thread Matthias Brugger
2013/3/25 Raymond Jennings shent...@gmail.com: On Sat, Mar 23, 2013 at 9:42 AM, Matthias Brugger matthias@gmail.com wrote: On 03/23/2013 01:05 AM, Raymond Jennings wrote: On Fri, Mar 22, 2013 at 2:20 PM, valdis.kletni...@vt.edu wrote: On Fri, 22 Mar 2013 13:53:45 -0700, Raymond

Re: BFQ: simple elevator

2013-03-25 Thread Raymond Jennings
it would appear indeed that my primitive out of my hat is identical to LOOK. On Mon, Mar 25, 2013 at 3:27 PM, Matthias Brugger matthias@gmail.com wrote: 2013/3/25 Raymond Jennings shent...@gmail.com: On Sat, Mar 23, 2013 at 9:42 AM, Matthias Brugger matthias@gmail.com wrote: On

cap on writeback?

2013-03-25 Thread Raymond Jennings
Just curious, is there a cap on how much data can be in writeback at the same time? I'm asking because I have over a gigabyte of data in dirty, but during flush, only about 60k or so is in writeback at any one time. Is there a cap of sorts, and if so, how do I remove it?

Re: cap on writeback?

2013-03-25 Thread Valdis . Kletnieks
On Mon, 25 Mar 2013 16:33:48 -0700, Raymond Jennings said: Just curious, is there a cap on how much data can be in writeback at the same time? I'm asking because I have over a gigabyte of data in dirty, but during flush, only about 60k or so is in writeback at any one time. Only a gigabyte?

Re: cap on writeback?

2013-03-25 Thread Raymond Jennings
On Mon, Mar 25, 2013 at 5:06 PM, valdis.kletni...@vt.edu wrote: On Mon, 25 Mar 2013 16:33:48 -0700, Raymond Jennings said: Just curious, is there a cap on how much data can be in writeback at the same time? I'm asking because I have over a gigabyte of data in dirty, but during flush, only

Re: cap on writeback?

2013-03-25 Thread Valdis . Kletnieks
On Mon, 25 Mar 2013 17:23:40 -0700, Raymond Jennings said: Is there some sort of mechanism that throttles the size of the writeback pool? There's a lot of tunables in /proc/sys/vm - everything from drop_caches to swappiness to vfs_cache_pressure. Note that they all interact in mystical and