summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2011-07-28 08:43:51 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:21:00 (GMT)
commitf6c076ea841913dcaf4664b65828c3caf21ba602 (patch)
treea90a99de8ea18f1854cd03354050fc24300b5fa6 /kernel
parentd1b60e49575ff571df99e87c04ea21c60cbc7c4a (diff)
downloadlinux-fsl-qoriq-f6c076ea841913dcaf4664b65828c3caf21ba602.tar.xz
mm, rt: kmap_atomic scheduling
In fact, with migrate_disable() existing one could play games with kmap_atomic. You could save/restore the kmap_atomic slots on context switch (if there are any in use of course), this should be esp easy now that we have a kmap_atomic stack. Something like the below.. it wants replacing all the preempt_disable() stuff with pagefault_disable() && migrate_disable() of course, but then you can flip kmaps around like below. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> [dvhart@linux.intel.com: build fix] Link: http://lkml.kernel.org/r/1311842631.5890.208.camel@twins [tglx@linutronix.de: Get rid of the per cpu variable and store the idx and the pte content right away in the task struct. Shortens the context switch code. ]
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions