From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751742AbcGRRko (ORCPT ); Mon, 18 Jul 2016 13:40:44 -0400 Received: from mga01.intel.com ([192.55.52.88]:61601 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451AbcGRRkm convert rfc822-to-8bit (ORCPT ); Mon, 18 Jul 2016 13:40:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,384,1464678000"; d="scan'208";a="1024210392" From: "Liang, Kan" To: Florian Westphal CC: "davem@davemloft.net" , "linux-kernel@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" , "Kirsher, Jeffrey T" , "mingo@redhat.com" , "peterz@infradead.org" , "kuznet@ms2.inr.ac.ru" , "jmorris@namei.org" , "yoshfuji@linux-ipv6.org" , "kaber@trash.net" , "akpm@linux-foundation.org" , "keescook@chromium.org" , "viro@zeniv.linux.org.uk" , "gorcunov@openvz.org" , "john.stultz@linaro.org" , "aduyck@mirantis.com" , "ben@decadent.org.uk" , "decot@googlers.com" , "Brandeburg, Jesse" , "andi@firstfloor.org" Subject: RE: [RFC PATCH 00/30] Kernel NET policy Thread-Topic: [RFC PATCH 00/30] Kernel NET policy Thread-Index: AQHR4QAYnLk7kPdiS0Cr9oejSYLaHaAdxziAgACI/vD//4duAIAAmGjg Date: Mon, 18 Jul 2016 17:40:31 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F07712C197A3@SHSMSX103.ccr.corp.intel.com> References: <1468824984-65318-1-git-send-email-kan.liang@intel.com> <20160718151841.GA19066@breakpoint.cc> <37D7C6CF3E00A74B8858931C1DB2F07712C1968E@SHSMSX103.ccr.corp.intel.com> <20160718161728.GB19066@breakpoint.cc> In-Reply-To: <20160718161728.GB19066@breakpoint.cc> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODhlOWJlN2QtZjdmZS00NGY3LWFlNGEtMGQ0ODRmMDJiZTg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InlNeFBQQWtlMktSZ29rWXBtSHYxOUdwaDZYZWxvTU02RUNUd1p3V3J3aVU9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > It seems strange to me to add such policies to the kernel. > > > > But kernel is the only place which can merge all user's requests. > > I don't think so. > > If different requests conflict in a way that is possible to dosomething > meaningful the I don't see why userspace tool cannot do the same thing... > Yes, I should correct my expression. I think kernel should be a better place to do those things. Kernel should be more efficient to coordinate those requests to get good performance. Thanks, Kan