Re: [RFC][PATCH 0/6] mm, highmem: kmap_atomic rework

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, August 19, 2010 - 2:31 pm

On Thu, 19 Aug 2010 22:13:17 +0200
Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:


Nice.  That fixes the "use of irq-only slots from interrupts-on
context" bugs which people keep adding.

We don't have any checks in there for the stack overflowing?

Did you add every runtime check you could possibly think of? 
kmap_atomic_idx_push() and pop() don't have much in there.  It'd be
good to lard it up with runtime checks for at least a few weeks.



Well, there's that monster conversion patch.  How's about you
temporarily do

#define kmap_atomic(x, arg...)  __kmap_atomic(x)

so for a while, both kmap_atomic(a, KM_foo) and kmap_atomic(a) are
turned into __kmap_atomic(a).  Once all the dust has settled, pull that
out again?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/6] mm, highmem: kmap_atomic rework, Peter Zijlstra, (Thu Aug 19, 1:13 pm)
[RFC][PATCH 1/6] mm: strictly nested kmap_atomic, Peter Zijlstra, (Thu Aug 19, 1:13 pm)
[RFC][PATCH 2/6] mm: stack based kmap_atomic, Peter Zijlstra, (Thu Aug 19, 1:13 pm)
[RFC][PATCH 3/6] mm, frv: Out-of-line kmap-atomic, Peter Zijlstra, (Thu Aug 19, 1:13 pm)
[RFC][PATCH 4/6] mm: Remove all KM_type arguments, Peter Zijlstra, (Thu Aug 19, 1:13 pm)
[RFC][PATCH 6/6] mm: Remove pte_*map_nested(), Peter Zijlstra, (Thu Aug 19, 1:13 pm)
Re: [RFC][PATCH 0/6] mm, highmem: kmap_atomic rework, Andrew Morton, (Thu Aug 19, 2:31 pm)
Re: [RFC][PATCH 0/6] mm, highmem: kmap_atomic rework, Peter Zijlstra, (Fri Aug 20, 7:38 am)
Re: [RFC][PATCH 1/6] mm: strictly nested kmap_atomic, Rik van Riel, (Fri Aug 20, 1:50 pm)
Re: [RFC][PATCH 2/6] mm: stack based kmap_atomic, Rik van Riel, (Fri Aug 20, 2:34 pm)
Re: [RFC][PATCH 4/6] mm: Remove all KM_type arguments, Rik van Riel, (Fri Aug 20, 2:44 pm)
Re: [RFC][PATCH 6/6] mm: Remove pte_*map_nested(), Rik van Riel, (Fri Aug 20, 2:47 pm)
Re: [RFC][PATCH 3/6] mm, frv: Out-of-line kmap-atomic, Rik van Riel, (Fri Aug 20, 2:48 pm)
Re: [RFC][PATCH 1/6] mm: strictly nested kmap_atomic, KAMEZAWA Hiroyuki, (Tue Aug 24, 12:09 am)
Re: [RFC][PATCH 2/6] mm: stack based kmap_atomic, KAMEZAWA Hiroyuki, (Tue Aug 24, 12:24 am)