[EMAIL PROTECTED] wrote:
> Julian Andres Klode:
>>> Does it really damage the performance to _enable_ the option if=20
>>> udba=3Dnone or udba=3Dreval is the mount option?
>> I don't know. If it doesn't, it will be enabled in Ubuntu 8.10, and in
>> Debian.
>
> There are code such like this in several places in aufs.
>
> #ifdef HINOTIFY
> test_hinotify()
> {
> // some code
> }
> #else
> test_hinotify()
> {
> // empty
> }
> #endif
>
> if (test_hinotify()) {
> // do something
> }
>
> Disabling HINOTIFY makes test_hinotify() empty and our compiler will
> totally remove the 'do something' block. It contributes both of code
> size and the speed, since 'some code' will not be executed either.
How much faster is it? If the code only checks for the presence of udba=inotify
in the options at mount-time and stores this check, there should not be much
difference.
>
>
> Junjiro Okajima
--
Julian Andres Klode, Fellow of the Free Software Foundation Europe
Debian Maintainer | Developer | Ubuntu Member
try Debian: http://www.debian.org/ | my site: http://jak-linux.org/
jabber: [EMAIL PROTECTED] | IRC: juliank (FreeNode, OFTC)
languages: German | English
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
