patch-2.1.81 linux/kernel/acct.c

Next file: linux/kernel/fork.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/kernel/acct.c linux/kernel/acct.c
@@ -268,8 +268,8 @@
 
 
 	/*
-	 * Fill the accounting struct with the needed info as recorded by the different
-	 * kernel functions.
+	 * Fill the accounting struct with the needed info as recorded
+	 * by the different kernel functions.
 	 */
 	memset((caddr_t)&ac, 0, sizeof(struct acct));
 
@@ -304,7 +304,7 @@
 	}
 	vsize = vsize / 1024;
 	ac.ac_mem = encode_comp_t(vsize);
-	ac.ac_io = encode_comp_t(current->io_usage);
+	ac.ac_io = encode_comp_t(current->io_usage);	/* %% */
 	ac.ac_rw = encode_comp_t(ac.ac_io / 1024);
 	ac.ac_minflt = encode_comp_t(current->min_flt);
 	ac.ac_majflt = encode_comp_t(current->maj_flt);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov