shithub: plan9front

Download patch

ref: 932995bb27fa517192cb4130d3e79593a8904763
parent: 41c60689b358e6c5d5b80451c800cc137ae2026e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 21 09:41:10 EST 2020

kernel: update procsave() comment, we'r not holding up->rlock anymore

--- a/sys/src/9/bcm/vfp3.c
+++ b/sys/src/9/bcm/vfp3.c
@@ -286,8 +286,7 @@
 			/*
 			 * Fpsave() stores without handling pending
 			 * unmasked exeptions. Postnote() can't be called
-			 * here as sleep() already has up->rlock, so
-			 * the handling of pending exceptions is delayed
+			 * so the handling of pending exceptions is delayed
 			 * until the process runs again and generates an
 			 * emulation fault to activate the FPU.
 			 */
--- a/sys/src/9/pc/main.c
+++ b/sys/src/9/pc/main.c
@@ -316,8 +316,7 @@
 			/*
 			 * Fpsave() stores without handling pending
 			 * unmasked exeptions. Postnote() can't be called
-			 * here as sleep() already has up->rlock, so
-			 * the handling of pending exceptions is delayed
+			 * so the handling of pending exceptions is delayed
 			 * until the process runs again and generates an
 			 * emulation fault to activate the FPU.
 			 */
--- a/sys/src/9/pc64/fpu.c
+++ b/sys/src/9/pc64/fpu.c
@@ -323,8 +323,7 @@
 		/*
 		 * Fpsave() stores without handling pending
 		 * unmasked exeptions. Postnote() can't be called
-		 * here as sleep() already has up->rlock, so
-		 * the handling of pending exceptions is delayed
+		 * so the handling of pending exceptions is delayed
 		 * until the process runs again and generates an
 		 * emulation fault to activate the FPU.
 		 */
--- a/sys/src/9/xen/main.c
+++ b/sys/src/9/xen/main.c
@@ -370,8 +370,7 @@
 			/*
 			 * Fpsave() stores without handling pending
 			 * unmasked exeptions. Postnote() can't be called
-			 * here as sleep() already has up->rlock, so
-			 * the handling of pending exceptions is delayed
+			 * so the handling of pending exceptions is delayed
 			 * until the process runs again and generates an
 			 * emulation fault to activate the FPU.
 			 */
--