Re: [PATCH 1/2] VMware detection support for x86 and x86-64

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Dillow
Date: Sunday, September 7, 2008 - 5:36 pm

On Mon, 2008-09-08 at 07:45 +0800, Yan Li wrote:

If you want this to be used by more callsites, it probably doesn't make
sense to have it print out a message each time.

In fact would it make more sense to have a framework (cpu feature flag?)
to detect that we're in any virtualized environment and make this one of
the detection routines, and perhaps cache the result. Especially if this
detection would be used to manage anything near a hot-path in the page
cache as you suggested.

But maybe that's overkill.

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

Messages in current thread:
[PATCH] X86: remove WARN_ON if MTRRs are all blank, Joerg Roedel, (Thu Feb 21, 4:32 am)
Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank, Ingo Molnar, (Thu Feb 21, 4:54 am)
Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank, Joerg Roedel, (Thu Feb 21, 5:47 am)
Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank, Ingo Molnar, (Thu Feb 21, 6:03 am)
Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank, Joerg Roedel, (Thu Feb 21, 6:27 am)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, David Dillow, (Sun Sep 7, 5:36 pm)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, Cristi Magherusan, (Wed Sep 24, 7:10 am)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 9:19 am)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 9:21 am)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, Cristi Magherusan, (Wed Sep 24, 11:13 am)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 11:16 am)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 5:26 pm)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 5:37 pm)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, Bernd Eckenfels, (Wed Sep 24, 6:28 pm)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 9:54 pm)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 10:04 pm)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, H. Peter Anvin, (Wed Sep 24, 10:30 pm)
Re: [PATCH 1/2] VMware guest detection for x86 and x86-64, David Sanders, (Thu Sep 25, 2:56 am)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, Valdis.Kletnieks, (Fri Sep 26, 5:27 am)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, Valdis.Kletnieks, (Fri Sep 26, 6:22 am)
Re: [PATCH 1/2] VMware detection support for x86 and x86-64, H. Peter Anvin, (Fri Sep 26, 10:37 am)