lkml.org 
[lkml]   [1999]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: init failing in 2.3.6
Date
> --- mm/mmap.c~	Thu Jun 10 09:49:31 1999
> +++ mm/mmap.c Tue Jun 11 21:48:50 2019
> @@ -728,6 +728,9 @@
> struct vm_area_struct * vma;
> unsigned long flags, retval;
>
> + if ((len = PAGE_ALIGN(len)) == 0)
> + return addr;
> +
> /*
> * mlock MCL_FUTURE?
> */
>
> If instead all callers of do_brk should ensure that len is a multiple
> of the page-size, I'm sure someone will post a better patch. :-)
>
> Paul.

do_mmap page-aligns its len parameter so this would seem to be correct
behavior. At any rate, my 2.3.6 system is feeling MUCH better. :-)

Regards,
Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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