Re: PTE access rules & abstraction

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Wednesday, September 24, 2008 - 3:17 pm

On Wed, 2008-09-24 at 19:45 +0100, Hugh Dickins wrote:

As far as I can tell the current code should work. It is not pretty
though, in particular the nasty pairing of flush_tlb_mm() with
ptep_set_wrprotect() and flush_tlb_range() with change_protection() is
fragile. For me the question is if we can find a sensible set of basic
primitives that work for all architectures in a performant way. This is
really hard..

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PTE access rules & abstraction, Benjamin Herrenschmidt, (Fri Sep 19, 10:42 am)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Sun Sep 21, 11:22 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Mon Sep 22, 2:05 pm)
Re: PTE access rules & abstraction, Nick Piggin, (Mon Sep 22, 8:10 pm)
Re: PTE access rules & abstraction, David Miller, (Mon Sep 22, 8:16 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Mon Sep 22, 10:31 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Mon Sep 22, 10:35 pm)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Mon Sep 22, 11:13 pm)
Re: PTE access rules & abstraction, Nick Piggin, (Mon Sep 22, 11:18 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Mon Sep 22, 11:49 pm)
Re: PTE access rules & abstraction, Nick Piggin, (Tue Sep 23, 2:50 am)
Re: PTE access rules & abstraction, peter, (Tue Sep 23, 4:54 am)
Re: PTE access rules & abstraction, Hugh Dickins, (Wed Sep 24, 11:45 am)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Wed Sep 24, 2:20 pm)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Wed Sep 24, 2:57 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Wed Sep 24, 3:07 pm)
Re: PTE access rules & abstraction, Martin Schwidefsky, (Wed Sep 24, 3:17 pm)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Wed Sep 24, 3:43 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Wed Sep 24, 3:53 pm)
Re: PTE access rules & abstraction, Hugh Dickins, (Wed Sep 24, 4:55 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Wed Sep 24, 6:04 pm)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Thu Sep 25, 11:15 am)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Thu Sep 25, 2:44 pm)
Re: PTE access rules & abstraction, Jeremy Fitzhardinge, (Thu Sep 25, 3:27 pm)
Re: PTE access rules & abstraction, Benjamin Herrenschmidt, (Thu Sep 25, 4:02 pm)