Re: [PATCH] nommu arch dont zero the anonymous mapping by addingUNINITIALIZE flag

From: Alan Cox
Date: Fri Mar 30 2007 - 13:10:12 EST


> Summary is, when I run the app "time test",
>
> on x86:
> real 0m0.066s
> user 0m0.008s
> sys 0m0.058s
>
> on Blackfin:
> real 3m 37.69s
> user 0m 0.04s
> sys 3m 37.58s

What would be relevant would be Blackfin with clearing and blackfin
without

> ---------------------------------------------------------------
> So now the question is,
> Keep the same behave as MMU but with bad performance, or keep the same
> performance as MMU but without the same behave, Which one is more
> important?

Behaviour.

You can implement a /dev/pages that is a copy of /dev/zero in tiny
amounts of code and use that for the specific problem cases.

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