[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071116.165445.172804063.davem@davemloft.net>
Date: Fri, 16 Nov 2007 16:54:45 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] IPV4 : Move ip route cache flush (secret_rebuild) from
softirq to workqueue
From: Eric Dumazet <dada1@...mosbay.com>
Date: Fri, 16 Nov 2007 17:40:27 +0100
> + unsigned long fake = 0, *flag_ptr;
...
> + /*
> + * This is a fast version of :
> + * if (process_context && need_resched())
> + */
> + if (unlikely(test_bit(TIF_NEED_RESCHED, flag_ptr)))
> + cond_resched();
Too much exposure to internals for me to apply this, really.
I have no problem with the change conceptually at all, this
detail is just too dirty.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists