Re: [patch] Inline vm_acct_memory

From: Andrew Morton (akpm@digeo.com)
Date: Wed May 28 2003 - 06:07:42 EST


Ravikiran G Thirumalai <kiran@xxxxxxxxxx> wrote:
>
> I found that inlining vm_acct_memory speeds up vm_enough_memory.
> Since vm_acct_memory is only called by vm_enough_memory,
> theoritically inlining should help, and my tests proved so -- there was
> an improvement of about 10 % in profile ticks (vm_enough_memory) on a
> 4 processor PIII Xeon running kernbench.

OK. But with just a single call site we may as well implement vm_acct_memory()
inside mm/memory.c. Could you please make that change?

Thanks.
-
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/