Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756076AbbHYXHd (ORCPT ); Tue, 25 Aug 2015 19:07:33 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:60215 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752105AbbHYXHb (ORCPT ); Tue, 25 Aug 2015 19:07:31 -0400 Date: Tue, 25 Aug 2015 16:07:30 -0700 (PDT) Message-Id: <20150825.160730.1747721171751442778.davem@davemloft.net> To: raghavendra.kt@linux.vnet.ibm.com Cc: kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, jiri@resnulli.us, edumazet@google.com, hannes@stressinduktion.org, tom@herbertland.com, azhou@nicira.com, ebiederm@xmission.com, ipm@chirality.org.uk, nicolas.dichtel@6wind.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, anton@au1.ibm.com, nacc@linux.vnet.ibm.com, srikar@linux.vnet.ibm.com Subject: Re: [PATCH RFC 0/2] Optimize the snmp stat aggregation for large cpus From: David Miller In-Reply-To: <1440489266-31127-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> References: <1440489266-31127-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 25 Aug 2015 16:07:31 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 17 From: Raghavendra K T Date: Tue, 25 Aug 2015 13:24:24 +0530 > Please let me know if you have suggestions/comments. Like Eric Dumazet said the idea is good but needs some adjustments. You might want to see whether a per-cpu work buffer works for this. It's extremely unfortunately that we can't depend upon the destination buffer being properly aligned, because we wouldn't need a temporary scratch area if it were aligned properly. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/