Re: [PATCH] improved locking performance in rt_run_flush()

2007-05-31 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Sun, 20 May 2007 15:11:48 +1000 > David Miller <[EMAIL PROTECTED]> wrote: > > From: Dave Johnson <[EMAIL PROTECTED]> > >> > >> The below patch changes rt_run_flush() to only take each spinlock > >> protecting the rt_hash_table once instead of taking a sp

Re: [PATCH] improved locking performance in rt_run_flush()

2007-05-19 Thread Herbert Xu
David Miller <[EMAIL PROTECTED]> wrote: > From: Dave Johnson <[EMAIL PROTECTED]> >> >> The below patch changes rt_run_flush() to only take each spinlock >> protecting the rt_hash_table once instead of taking a spinlock for >> every hash table bucket (and ending up taking the same small set >> of

Re: [PATCH] improved locking performance in rt_run_flush()

2007-05-14 Thread David Miller
From: Dave Johnson <[EMAIL PROTECTED]> Date: Sat, 12 May 2007 12:36:47 -0400 > > While testing adding/deleting large numbers of interfaces, I found > rt_run_flush() was the #1 cpu user in a kernel profile by far. > > The below patch changes rt_run_flush() to only take each spinlock > protecting