diff options
author | Peter Zijlstra <peterz@infradead.org> | 2011-07-28 10:43:51 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-13 11:01:51 -0500 |
commit | 8f2a48d21a612df271a4217c6be0467b277c3906 (patch) | |
tree | f9c1971fccca2a00c9c5f18414bc1af8a80d990b /mm/mmap.c | |
parent | d9d1b9404178e97a4cad32926041f32af3096945 (diff) |
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
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions