On Fri, Dec 19, 2008 at 05:55,  <[email protected]> wrote:
> Not do anonymous mmap when oprofiling flat format application, let oprofile
> daemon can find out the file path.
>
> Modified: trunk/fs/binfmt_flat.c (5903 => 5904)
>
> +#ifdef CONFIG_OPROFILE
> +             textpos = do_mmap(bprm->file, 0, len,
> +#else
>               textpos = do_mmap(0, 0, len,
> +#endif
>                               PROT_READ | PROT_EXEC | PROT_WRITE,
>                               MAP_PRIVATE, 0);

we didnt make this change on purpose because it'll force the file to
be read twice.  there's a few more changes that need to be made in
order to avoid that.
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to