lkml.org 
[lkml]   [2001]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Different old_mmap behavior between 2.4.5 and 2.4.8
On Mon, Sep 10, 2001 at 06:30:55PM -0700, Bao C. Ha wrote:
> Is this supposed to be the correct behavior? What changes
> make the newer kernels to return different pointers? We
> are running on the sh4 architecture but I think these calls
> come from malloc() which should be arch-independent.

The result from earlier kernels is wrong. If your code
requires that the same address is returned as was specified
then you need to pass in the MAP_FIXED flag.

-ben
-
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 13:03    [W:0.058 / U:6.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site