search for: ptep_get_and_clear_f

Displaying 6 results from an estimated 6 matches for "ptep_get_and_clear_f".

Did you mean: ptep_get_and_clear
2007 Apr 18
0
[PATCH 2/4] Pte clear optimization.patch
...+ *xp = __pte(0); +} static inline pte_t native_ptep_get_and_clear(pte_t *xp) { diff -r 1478ce4ec9e3 include/asm-i386/pgtable.h --- a/include/asm-i386/pgtable.h Wed Apr 11 17:13:10 2007 -0700 +++ b/include/asm-i386/pgtable.h Wed Apr 11 18:21:43 2007 -0700 @@ -349,7 +349,7 @@ static inline pte_t ptep_get_and_clear_f pte_t pte; if (full) { pte = *ptep; - pte_clear(mm, addr, ptep); + native_pte_clear(mm, addr, ptep); } else { pte = ptep_get_and_clear(mm, addr, ptep); }
2007 Apr 18
0
[PATCH 4/4] Pte simplify ops.patch
...ep) +{ + pte_t res = *ptep; + + /* Pure native function needs no input for mm, addr */ + native_pte_clear(NULL, 0, ptep); + return res; +} + /* * We only update the dirty/accessed state if we set * the dirty bit by hand in the kernel, since the hardware @@ -348,8 +358,11 @@ static inline pte_t ptep_get_and_clear_f { pte_t pte; if (full) { - pte = *ptep; - native_pte_clear(mm, addr, ptep); + /* + * Full address destruction in progress; paravirt does not + * care about updates and native needs no locking + */ + pte = native_local_ptep_get_and_clear(ptep); } else { pte = ptep_get_and_clear(m...
2007 Apr 18
0
[PATCH 2/4] Pte clear optimization.patch
...+ *xp = __pte(0); +} static inline pte_t native_ptep_get_and_clear(pte_t *xp) { diff -r 1478ce4ec9e3 include/asm-i386/pgtable.h --- a/include/asm-i386/pgtable.h Wed Apr 11 17:13:10 2007 -0700 +++ b/include/asm-i386/pgtable.h Wed Apr 11 18:21:43 2007 -0700 @@ -349,7 +349,7 @@ static inline pte_t ptep_get_and_clear_f pte_t pte; if (full) { pte = *ptep; - pte_clear(mm, addr, ptep); + native_pte_clear(mm, addr, ptep); } else { pte = ptep_get_and_clear(mm, addr, ptep); }
2007 Apr 18
0
[PATCH 4/4] Pte simplify ops.patch
...ep) +{ + pte_t res = *ptep; + + /* Pure native function needs no input for mm, addr */ + native_pte_clear(NULL, 0, ptep); + return res; +} + /* * We only update the dirty/accessed state if we set * the dirty bit by hand in the kernel, since the hardware @@ -348,8 +358,11 @@ static inline pte_t ptep_get_and_clear_f { pte_t pte; if (full) { - pte = *ptep; - native_pte_clear(mm, addr, ptep); + /* + * Full address destruction in progress; paravirt does not + * care about updates and native needs no locking + */ + pte = native_local_ptep_get_and_clear(ptep); } else { pte = ptep_get_and_clear(m...
2006 Mar 14
12
[RFC] VMI for Xen?
I''m sure everyone has seen the drop of VMI patches for Linux at this point, but just in case, the link is included below. I''ve read this version of the VMI spec and have made my way through most of the patches. While I wasn''t really that impressed with the first spec wrt Xen, the second version seems to be much more palatable. Specifically, the code inlining and
2006 Jul 26
5
linux-2.6-xen.hg
Hi, Is the http://xenbits.xensource.com/linux-2.6-xen.hg tree still being updated? if not, what''s the preferred Linux tree to track that has all of the Xen bits? Thanks, Muli _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel