SOURCES (LINUX_2_6): linux-2.6-unix-abi.patch - use set_mm_counter...
pluto
pluto at pld-linux.org
Fri Jun 24 21:45:43 CEST 2005
Author: pluto Date: Fri Jun 24 19:45:43 2005 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- use set_mm_counter instead of current->mm->...
---- Files affected:
SOURCES:
linux-2.6-unix-abi.patch (1.1.2.8 -> 1.1.2.9)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-unix-abi.patch
diff -u SOURCES/linux-2.6-unix-abi.patch:1.1.2.8 SOURCES/linux-2.6-unix-abi.patch:1.1.2.9
--- SOURCES/linux-2.6-unix-abi.patch:1.1.2.8 Fri Jun 24 20:34:39 2005
+++ SOURCES/linux-2.6-unix-abi.patch Fri Jun 24 21:45:38 2005
@@ -22510,7 +22510,7 @@
+ current->mm->end_code = 0;
+ current->mm->mmap = NULL;
+ current->flags &= ~PF_FORKNOEXEC;
-+ current->mm->rss = 0;
++ set_mm_counter(current->mm, rss, 0);
+
+ /*
+ * Construct the parameter and environment
@@ -23356,7 +23356,7 @@
+ flush_old_exec(bpp);
+
+ current->mm->mmap = NULL;
-+ current->mm->rss = 0;
++ set_mm_counter(current->mm, rss, 0);
+
+ if ((err = setup_arg_pages(bpp, STACK_TOP, EXSTACK_DEFAULT)) < 0) {
+ send_sig(SIGSEGV, current, 1);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-unix-abi.patch?r1=1.1.2.8&r2=1.1.2.9&f=u
More information about the pld-cvs-commit
mailing list