[PATCH RFC 1/2] preempt: track pagefault_disable() calls in the preempt counter

2014-11-27 Thread David Hildenbrand
Let's track the levels of pagefault_disable() calls in a separate part of the preempt counter. Also update the regular preempt counter to keep the existing pagefault infrastructure working (can be demangeled and cleaned up later). This change is needed to detect whether we are running in a simple

[PATCH RFC 1/2] preempt: track pagefault_disable() calls in the preempt counter

2014-11-27 Thread David Hildenbrand
Let's track the levels of pagefault_disable() calls in a separate part of the preempt counter. Also update the regular preempt counter to keep the existing pagefault infrastructure working (can be demangeled and cleaned up later). This change is needed to detect whether we are running in a simple