Re: [PATCH v2 1/5] uaccess: add pagefault_count to thread_info

2014-12-15 Thread David Hildenbrand
> On Wed, Dec 10, 2014 at 10:23 PM, David Hildenbrand > wrote: > > This patch adds the pagefault_count to the thread_info of all > > architectures. It will be used to count the pagefault_disable() levels > > on a per-thread basis. > > > > We are not reusing the preempt_count as this is per cpu on

Re: [PATCH v2 1/5] uaccess: add pagefault_count to thread_info

2014-12-15 Thread Peter Zijlstra
On Mon, Dec 15, 2014 at 12:23:01PM +0100, David Hildenbrand wrote: > Peter just showed my that there is some work ongoing on that > pagefault_disable() topic. So I am not sure if the arch-specific part of this > series is still relevant. Well 'on-going' would be over stating it. We did those bits

Re: [PATCH v2 1/5] uaccess: add pagefault_count to thread_info

2014-12-15 Thread LF.Tan
On Wed, Dec 10, 2014 at 10:23 PM, David Hildenbrand wrote: > This patch adds the pagefault_count to the thread_info of all > architectures. It will be used to count the pagefault_disable() levels > on a per-thread basis. > > We are not reusing the preempt_count as this is per cpu on x86 and we wan

[PATCH v2 1/5] uaccess: add pagefault_count to thread_info

2014-12-10 Thread David Hildenbrand
This patch adds the pagefault_count to the thread_info of all architectures. It will be used to count the pagefault_disable() levels on a per-thread basis. We are not reusing the preempt_count as this is per cpu on x86 and we want to demangle pagefault_disable() from preemption in the future. The