Re: [PATCH 1/3] net: use this_cpu_xxx replace percpu_xxx funcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 20 octobre 2011 à 15:32 +0800, Alex,Shi a écrit :
> percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace them
> for further code clean up.
> 
> And in preempt safe scenario, __this_cpu_xxx funcs has a bit better
> performance since __this_cpu_xxx has no redundant preempt_disable()
> 
> Signed-off-by: Alex Shi <alex.shi@xxxxxxxxx>
> ---
>  net/netfilter/xt_TEE.c |   12 ++++++------
>  net/socket.c           |    4 ++--
>  2 files changed, 8 insertions(+), 8 deletions(-)

Acked-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Thanks !


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux