* [PATCH] Documentation: virt: clean up paravirt_ops doc.
@ 2023-06-10 5:43 Randy Dunlap
2023-06-12 5:27 ` Juergen Gross
2023-06-19 10:34 ` [tip: x86/cleanups] Documentation: virt: Clean " tip-bot2 for Randy Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-06-10 5:43 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Juergen Gross, Ajay Kaher, Alexey Makhalov,
VMware PV-Drivers Reviewers, virtualization, x86, Paolo Bonzini,
Luke Nowakowski-Krijger, Luis Chamberlain
Clarify language. Clean up grammar. Hyphenate some words.
Change "low-ops" to "low-level" since "low-ops" isn't defined or even
mentioned anywhere else in the kernel source tree.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: Ajay Kaher <akaher@vmware.com>
Cc: Alexey Makhalov <amakhalov@vmware.com>
Cc: VMware PV-Drivers Reviewers <pv-drivers@vmware.com>
Cc: virtualization@lists.linux-foundation.org
Cc: x86@kernel.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Luke Nowakowski-Krijger" <lnowakow@eng.ucsd.edu>
Cc: Luis Chamberlain <mcgrof@kernel.org>
---
Documentation/virt/paravirt_ops.rst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff -- a/Documentation/virt/paravirt_ops.rst b/Documentation/virt/paravirt_ops.rst
--- a/Documentation/virt/paravirt_ops.rst
+++ b/Documentation/virt/paravirt_ops.rst
@@ -5,31 +5,31 @@ Paravirt_ops
============
Linux provides support for different hypervisor virtualization technologies.
-Historically different binary kernels would be required in order to support
-different hypervisors, this restriction was removed with pv_ops.
+Historically, different binary kernels would be required in order to support
+different hypervisors; this restriction was removed with pv_ops.
Linux pv_ops is a virtualization API which enables support for different
hypervisors. It allows each hypervisor to override critical operations and
allows a single kernel binary to run on all supported execution environments
including native machine -- without any hypervisors.
pv_ops provides a set of function pointers which represent operations
-corresponding to low level critical instructions and high level
-functionalities in various areas. pv-ops allows for optimizations at run
-time by enabling binary patching of the low-ops critical operations
+corresponding to low-level critical instructions and high-level
+functionalities in various areas. pv_ops allows for optimizations at run
+time by enabling binary patching of the low-level critical operations
at boot time.
pv_ops operations are classified into three categories:
- simple indirect call
- These operations correspond to high level functionality where it is
+ These operations correspond to high-level functionality where it is
known that the overhead of indirect call isn't very important.
- indirect call which allows optimization with binary patch
- Usually these operations correspond to low level critical instructions. They
+ Usually these operations correspond to low-level critical instructions. They
are called frequently and are performance critical. The overhead is
very important.
- a set of macros for hand written assembly code
Hand written assembly codes (.S files) also need paravirtualization
- because they include sensitive instructions or some of code paths in
+ because they include sensitive instructions or some code paths in
them are very performance critical.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Documentation: virt: clean up paravirt_ops doc.
2023-06-10 5:43 [PATCH] Documentation: virt: clean up paravirt_ops doc Randy Dunlap
@ 2023-06-12 5:27 ` Juergen Gross
2023-06-19 10:34 ` [tip: x86/cleanups] Documentation: virt: Clean " tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2023-06-12 5:27 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: Ajay Kaher, Alexey Makhalov, VMware PV-Drivers Reviewers,
virtualization, x86, Paolo Bonzini, Luke Nowakowski-Krijger,
Luis Chamberlain
[-- Attachment #1.1.1: Type: text/plain, Size: 748 bytes --]
On 10.06.23 07:43, Randy Dunlap wrote:
> Clarify language. Clean up grammar. Hyphenate some words.
>
> Change "low-ops" to "low-level" since "low-ops" isn't defined or even
> mentioned anywhere else in the kernel source tree.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Juergen Gross <jgross@suse.com>
> Cc: Ajay Kaher <akaher@vmware.com>
> Cc: Alexey Makhalov <amakhalov@vmware.com>
> Cc: VMware PV-Drivers Reviewers <pv-drivers@vmware.com>
> Cc: virtualization@lists.linux-foundation.org
> Cc: x86@kernel.org
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: "Luke Nowakowski-Krijger" <lnowakow@eng.ucsd.edu>
> Cc: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Juergen Gross <jgross@suse.com>
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: x86/cleanups] Documentation: virt: Clean up paravirt_ops doc
2023-06-10 5:43 [PATCH] Documentation: virt: clean up paravirt_ops doc Randy Dunlap
2023-06-12 5:27 ` Juergen Gross
@ 2023-06-19 10:34 ` tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2023-06-19 10:34 UTC (permalink / raw)
To: linux-tip-commits
Cc: Randy Dunlap, Borislav Petkov (AMD), Juergen Gross, x86, linux-kernel
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 6f7f812f54b46da88ec6e98b4a10e501d0d7164c
Gitweb: https://git.kernel.org/tip/6f7f812f54b46da88ec6e98b4a10e501d0d7164c
Author: Randy Dunlap <rdunlap@infradead.org>
AuthorDate: Fri, 09 Jun 2023 22:43:10 -07:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 19 Jun 2023 12:09:54 +02:00
Documentation: virt: Clean up paravirt_ops doc
Clarify language. Clean up grammar. Hyphenate some words.
Change "low-ops" to "low-level" since "low-ops" isn't defined or even
mentioned anywhere else in the kernel source tree.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230610054310.6242-1-rdunlap@infradead.org
---
Documentation/virt/paravirt_ops.rst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/virt/paravirt_ops.rst b/Documentation/virt/paravirt_ops.rst
index 6b789d2..62d867e 100644
--- a/Documentation/virt/paravirt_ops.rst
+++ b/Documentation/virt/paravirt_ops.rst
@@ -5,31 +5,31 @@ Paravirt_ops
============
Linux provides support for different hypervisor virtualization technologies.
-Historically different binary kernels would be required in order to support
-different hypervisors, this restriction was removed with pv_ops.
+Historically, different binary kernels would be required in order to support
+different hypervisors; this restriction was removed with pv_ops.
Linux pv_ops is a virtualization API which enables support for different
hypervisors. It allows each hypervisor to override critical operations and
allows a single kernel binary to run on all supported execution environments
including native machine -- without any hypervisors.
pv_ops provides a set of function pointers which represent operations
-corresponding to low level critical instructions and high level
-functionalities in various areas. pv-ops allows for optimizations at run
-time by enabling binary patching of the low-ops critical operations
+corresponding to low-level critical instructions and high-level
+functionalities in various areas. pv_ops allows for optimizations at run
+time by enabling binary patching of the low-level critical operations
at boot time.
pv_ops operations are classified into three categories:
- simple indirect call
- These operations correspond to high level functionality where it is
+ These operations correspond to high-level functionality where it is
known that the overhead of indirect call isn't very important.
- indirect call which allows optimization with binary patch
- Usually these operations correspond to low level critical instructions. They
+ Usually these operations correspond to low-level critical instructions. They
are called frequently and are performance critical. The overhead is
very important.
- a set of macros for hand written assembly code
Hand written assembly codes (.S files) also need paravirtualization
- because they include sensitive instructions or some of code paths in
+ because they include sensitive instructions or some code paths in
them are very performance critical.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-19 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 5:43 [PATCH] Documentation: virt: clean up paravirt_ops doc Randy Dunlap
2023-06-12 5:27 ` Juergen Gross
2023-06-19 10:34 ` [tip: x86/cleanups] Documentation: virt: Clean " tip-bot2 for Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®