Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752625AbbDQDPt (ORCPT ); Thu, 16 Apr 2015 23:15:49 -0400 Received: from mga09.intel.com ([134.134.136.24]:6357 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbbDQDPm convert rfc822-to-8bit (ORCPT ); Thu, 16 Apr 2015 23:15:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,591,1422950400"; d="scan'208";a="715036170" From: "Wang, Xiaoming" To: Tejun Heo CC: "akpm@linux-foundation.org" , "oleg@redhat.com" , "andriy.shevchenko@linux.intel.com" , "linux@rasmusvillemoes.dk" , "ebiederm@xmission.com" , "eparis@redhat.com" , "chenhanxiao@cn.fujitsu.com" , "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "Schallberger, Timothy M" , "Zhang, Dongxing" Subject: RE: [PATCH] proc: move the adding option Ngid to the end of proc/PID/status Thread-Topic: [PATCH] proc: move the adding option Ngid to the end of proc/PID/status Thread-Index: AQHQeLR5iNcmFn2F5EmN3jO2vltknZ1P/KgAgACJk2A= Date: Fri, 17 Apr 2015 03:15:33 +0000 Message-ID: References: <1429236796-22387-1-git-send-email-xiaoming.wang@intel.com> <20150417025624.GA12709@htj.duckdns.org> In-Reply-To: <20150417025624.GA12709@htj.duckdns.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 Content-Length: 1811 Lines: 44 Dear tejun > -----Original Message----- > From: Tejun Heo [mailto:htejun@gmail.com] On Behalf Of Tejun Heo > Sent: Friday, April 17, 2015 10:56 AM > To: Wang, Xiaoming > Cc: akpm@linux-foundation.org; oleg@redhat.com; > andriy.shevchenko@linux.intel.com; linux@rasmusvillemoes.dk; > ebiederm@xmission.com; eparis@redhat.com; chenhanxiao@cn.fujitsu.com; > tglx@linutronix.de; linux-kernel@vger.kernel.org; Schallberger, Timothy M; > Zhang, Dongxing > Subject: Re: [PATCH] proc: move the adding option Ngid to the end of > proc/PID/status > > On Fri, Apr 17, 2015 at 10:13:15AM +0800, Wang Xiaoming wrote: > > Move debugging has been done and the following Kernel issue was found > > with a number of applications. > > Take a look at: (even though the comments are for Weibo.browser they > > also pertain to other apps that use Libsecuritysdk-x.x.x.so > > > > In kernel(3.14) is a little different than before it will generate > > /proc/PID/status in this way: > > Name: a.weibo.browser > > State: T (stopped) > > Tgid: 8487 > > Ngid: 0 ---- add in kernel after (3.11 maybe) > > Well, that's kinda hilarious and I don't know. 3.11 is way back and what if there > are others depending on the current ordering? Both situations kinda suck so > what's the point of changing? > I am not sure exactly which kernel introduced this Ngid. I check the git and found it added in commit e29cf08b05dc0b8151d65704d96d525a9e179a6b And this change has destroyed the order already. Moving the adding option Ngid to the end of proc/PID/status is to keep order . > -- > tejun -- 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/