login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
20
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeremy Fitzhardinge <jeremy@...>
To: Linus Torvalds <torvalds@...>
Cc: xen-devel <xen-devel@...>, Peter Zijlstra <a.p.zijlstra@...>, kvm-devel <kvm-devel@...>, <benh@...>, <x86@...>, LKML <linux-kernel@...>, Virtualization Mailing List <virtualization@...>, Hugh Dickins <hugh@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>
Subject:
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction
Date: Friday, June 20, 2008 - 4:22 pm
Jeremy Fitzhardinge wrote:
quoted text
> Linus Torvalds wrote: > >> On Fri, 20 Jun 2008, Ingo Molnar wrote: >> >> >>> okay - Jeremy, could you try the fix below? (or tip/master, i just >>> pushed this out) >>> >>> >> Actually, don't try that one. >> >> It needs to be a _byte_ registers, so "ir" was wrong. You need "iq". >> >> > > Doesn't work, unfortunately: > {standard input}:20511: Error: Incorrect register `%eax' used with `b' > suffix > > lock; orb %eax,1(%rdi) # tmp64, >
This does work: asm volatile(LOCK_PREFIX "orb %1,%0" : CONST_MASK_ADDR(nr, addr) : "iq" ((u8)CONST_MASK(nr)) : "memory"); (ie, explicitly casting the mask to u8) J --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0 of 4] mm+paravirt+xen: add pte read-modify-write ab...
, Jeremy Fitzhardinge
, (Mon Jun 16, 7:29 am)
[PATCH 2 of 4] paravirt: add hooks for ptep_modify_prot_star...
, Jeremy Fitzhardinge
, (Mon Jun 16, 7:30 am)
[PATCH 4 of 4] xen: add mechanism to extend existing multica...
, Jeremy Fitzhardinge
, (Mon Jun 16, 7:30 am)
[PATCH 3 of 4] xen: implement ptep_modify_prot_start/commit
, Jeremy Fitzhardinge
, (Mon Jun 16, 7:30 am)
[PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstra...
, Jeremy Fitzhardinge
, (Mon Jun 16, 7:30 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Benjamin Herrenschmidt
, (Wed Jun 18, 7:23 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Wed Jun 18, 7:59 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Wed Jun 18, 8:15 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Wed Jun 18, 8:24 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Benjamin Herrenschmidt
, (Wed Jun 18, 8:39 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Thu Jun 19, 1:03 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Benjamin Herrenschmidt
, (Thu Jun 19, 3:20 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Thu Jun 19, 1:57 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Wed Jun 18, 8:37 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Wed Jun 18, 8:49 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Thu Jun 19, 12:03 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Thu Jun 19, 7:58 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Thu Jun 19, 12:30 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Thu Jun 19, 12:47 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Fri Jun 20, 6:10 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Fri Jun 20, 3:06 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Fri Jun 20, 3:15 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Fri Jun 20, 3:56 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Fri Jun 20, 4:05 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Fri Jun 20, 4:03 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Fri Jun 20, 4:16 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Jeremy Fitzhardinge
, (Fri Jun 20, 4:22 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Sat Jun 21, 2:06 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Akinobu Mita
, (Thu Jun 19, 8:20 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Thu Jun 19, 8:03 am)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Linus Torvalds
, (Mon Jun 16, 1:29 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Hugh Dickins
, (Mon Jun 16, 2:13 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab...
, Ingo Molnar
, (Mon Jun 16, 2:49 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Borislav Petkov
2.6.23-rc1: no setup signature found...
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [BUG] New Kernel Bugs
Colocation donated by:
Who's online
There are currently
2 users
and
958 guests
online.
Online users
zeekec
gslayer666
Syndicate