login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
15
Re: [PATCH 3/25][V3] irq_flags / halt routines
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Glauber de Oliveira Costa
Subject:
Re: [PATCH 3/25][V3] irq_flags / halt routines
Date: Wednesday, August 15, 2007 - 8:17 am
Avi Kivity escreveu:
quoted text
> Glauber de Oliveira Costa wrote: >> Andi Kleen escreveu: >>> On Wed, Aug 15, 2007 at 11:18:25AM -0300, Glauber de Oliveira Costa >>> wrote: >>>>> Didn't we agree this should be a pvops client? >>>>> >>>>> -Andi >>>>> >>>> No. I exposed my reasoning, asked you back, but got no answer. >>>> I'll do it again: >>>> >>>> This operations are just manipulating bits, and are doing no >>>> privileged operations at all. Nothing that can be paravirtualized, in >>> >>> It's talking to a Hypervisor. That is privileged enough. >>> Please do that change. If you add so many more ifdefs it's your >>> duty to keep the overall number low. >> >> Again, this is the code of such function: >> >> static inline int raw_irqs_disabled_flags(unsigned long flags) >> { >> return !(flags & X86_EFLAGS_IF); >> } >> so all it is doing is getting a parameter (flags), and bitmasking it. >> It is not talking to any hypervisor. I can't see your point. Unless >> you are >> arguing that it _should_ be talking to a hypervisor. Is that your point? > > It is talking to a hypervisor. This hypervisor does full > virtualization, except that it allows the guest to hide eflags.IF inside > eflags.AC as an optimization (otherwise you need to do binary > translation to overcome popf silently disregarding IF on the stack). > > You can regard eflags.AC as the paravirtualized eflags.IF (Xen for > example has a per-vcpu memory flag for the same). >
Thanks Avi, I understand it now. Andi, I will update it and resend shortly. -
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/25][V3] pvops_64 last round (hopefully)
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 1/25][V3] header file move
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 2/25][V3] tlb flushing routines
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 3/25][V3] irq_flags / halt routines
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 4/25][V3] Add debugreg/load_rsp native hooks
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 5/25][V3] native versions for system.h functions
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 6/25][V3] add native_apic read and write functions, ...
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 7/25][V3] interrupt related native paravirt functions.
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 8/25][V3] use macro for sti/cli in spinlock definitions
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 9/25][V3] report ring kernel is running without par ...
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 10/25][V3] export math_state_restore
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 11/25][V3] native versions for set pagetables
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 12/25][V3] turn msr.h functions into native versions
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 13/25][V3] add native functions for descriptors han ...
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 14/25][V3] get rid of inline asm for load_cr3
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 15/25][V3] introducing paravirt_activate_mm
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 16/25][V3] turn page operations into native versions
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 17/25][V3] introduce paravirt_release_pgd()
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 18/25][V3] turn priviled operations into macros in ...
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 19/25][V3] time-related functions paravirt provisions
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 20/25][V3] replace syscall_init
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 21/25][V3] export cpu_gdt_descr
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 22/25][V3] turn priviled operation into a macro
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 23/25][V3] provide paravirt patching function
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 24/25][V3] paravirt hooks for arch initialization
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
[PATCH 25/25][V3] add paravirtualization support for x86_64
, Glauber de Oliveira ...
, (Wed Aug 15, 5:49 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Andi Kleen
, (Wed Aug 15, 6:55 am)
Re: [PATCH 21/25][V3] export cpu_gdt_descr
, Andi Kleen
, (Wed Aug 15, 7:03 am)
Re: [PATCH 18/25][V3] turn priviled operations into macros ...
, Steven Rostedt
, (Wed Aug 15, 7:04 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Glauber de Oliveira ...
, (Wed Aug 15, 7:18 am)
Re: [PATCH 18/25][V3] turn priviled operations into macros ...
, Glauber de Oliveira ...
, (Wed Aug 15, 7:19 am)
Re: [PATCH 21/25][V3] export cpu_gdt_descr
, Glauber de Oliveira ...
, (Wed Aug 15, 7:25 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Glauber de Oliveira ...
, (Wed Aug 15, 8:09 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Avi Kivity
, (Wed Aug 15, 8:13 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Glauber de Oliveira ...
, (Wed Aug 15, 8:17 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Andi Kleen
, (Wed Aug 15, 8:42 am)
Re: [PATCH 21/25][V3] export cpu_gdt_descr
, Andi Kleen
, (Wed Aug 15, 8:43 am)
Re: [PATCH 3/25][V3] irq_flags / halt routines
, Andi Kleen
, (Wed Aug 15, 9:36 am)
Re: [PATCH 0/25][V3] pvops_64 last round (hopefully)
, Jeremy Fitzhardinge
, (Wed Aug 15, 11:04 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate