[MPlayer-dev-eng] Re: amd64 -sws 0 fix (iow: playing with NX bit)
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jan 24 15:53:06 CET 2005
On Mon, Jan 24, 2005 at 03:39:44PM +0100, Aurelien Jacobs wrote:
> On Mon, 24 Jan 2005 13:31:05 +0100
> Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> > On Mon, Jan 24, 2005 at 03:07:06AM +0100, Aurelien Jacobs wrote:
> > > On Fri, 21 Jan 2005 21:40:34 +0100
> > > Alex Beregszaszi <alex at fsn.hu> wrote:
> > How about just using anonymous mmap instead of malloc+mprotect?
> > According to my understandig of its manpage it should work...
> Right, it works. But I don't like this too much. It less readable and not
> really simpler IMHO.
With all that alignment? And you have to find out the page size etc. for
the other variant...
> Do you think this patch is really better or should I stick with my
> memalign() version ?
Btw. BSD does not have memalign, as well as other OS (look in config.h
it just uses normal malloc then).
More information about the MPlayer-dev-eng