OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Clean proto_(un)register from in-code ifdefs
Re: [PATCH] Clean proto_(un)register from in-code ifdefs [message #22905 is a reply to message #22880] Wed, 07 November 2007 10:23 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@openvz.org>
Date: Tue, 06 Nov 2007 20:20:24 +0300

> The struct proto has the per-cpu "inuse" counter, which is handled
> with a special care. All the handling code hides under the ifdef 
> CONFIG_SMP and it introduces some code duplication and makes it 
> look worse than it could.
> 
> Clean this.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied, thanks!
 
Read Message
Read Message
Previous Topic: [PATCH] Compact some ifdefs in the fib code
Next Topic: [PATCH 0/2] fix for OOPS in pernet list operations if CONFIG_NET_NS undefined
Goto Forum:
  


Current Time: Wed Dec 17 15:05:23 GMT 2025

Total time taken to generate the page: 1.52114 seconds