lkml.org 
[lkml]   [2005]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.10-ac11 announcement?
On Tue, Feb 01, 2005 at 12:02:49AM +0100, Rafael J. Wysocki wrote:

> > Nothing terribly exciting here security wise but various bugs for problems
> > people have been hitting that are now fixed upstream, and also the ULi
> > tulip variant should now work. If you are running IPv6 you may well want
> > the networking fixes.
>
> Is there a broken-out version of the patch available? It reboots at startup
> (before it mounts the root fs) on my dual-Opteron box (SuSE 9.2), but -ac10
> works fine, evidently. I could check which changeset actually caused this to
> happen, but I'd need to separate them.

I see this happening too. It seems to go away when I back out
this chunk..

Dave

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.10/mm/mmap.c linux-2.6.10/mm/mmap.c
--- linux.vanilla-2.6.10/mm/mmap.c 2004-12-25 21:15:46.000000000 +0000
+++ linux-2.6.10/mm/mmap.c 2005-01-13 17:24:50.000000000 +0000
@@ -1346,7 +1346,12 @@
address += 4 + PAGE_SIZE - 1;
address &= PAGE_MASK;
grow = (address - vma->vm_end) >> PAGE_SHIFT;
-
+
+ /* Someone beat us to it */
+ if (grow <= 0) {
+ anon_vma_unlock(vma);
+ return 0;
+ }
/* Overcommit.. */
if (security_vm_enough_memory(grow)) {
anon_vma_unlock(vma);
@@ -1409,6 +1421,11 @@
address &= PAGE_MASK;
grow = (vma->vm_start - address) >> PAGE_SHIFT;

+ /* Someone beat us to it */
+ if (grow <= 0) {
+ anon_vma_unlock(vma);
+ return 0;
+ }
/* Overcommit.. */
if (security_vm_enough_memory(grow)) {
anon_vma_unlock(vma);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.066 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site