Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966196AbYCSVXM (ORCPT ); Wed, 19 Mar 2008 17:23:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762089AbYCSUAa (ORCPT ); Wed, 19 Mar 2008 16:00:30 -0400 Received: from sj-iport-1.cisco.com ([171.71.176.70]:10517 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762075AbYCSUA0 (ORCPT ); Wed, 19 Mar 2008 16:00:26 -0400 To: Hoang-Nam Nguyen Cc: Christoph Raisch , general@lists.openfabrics.org, Hal Rosenstock , Linux Kernel Mailing List , Roland Dreier , Sean Hefty , Pavel Emelyanov Subject: Re: [PATCH 1/3] Infiniband: make ehca_pd use struct pid pointer rather than pid_t X-Message-Flag: Warning: May contain useful information References: From: Roland Dreier Date: Tue, 18 Mar 2008 09:10:55 -0700 In-Reply-To: (Hoang-Nam Nguyen's message of "Tue, 18 Mar 2008 16:52:27 +0100") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 18 Mar 2008 16:10:56.0461 (UTC) FILETIME=[A5D3FFD0:01C88912] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 763 Lines: 17 > Reason for above checking is to prevent a child process releasing > a resource that the parent process has created and still wants to use. > Do you think that's something we can generalize into ib_core? Clearly if we want that check then it should be in the core uverbs module. But I'm not sure why we would want that check -- I don't see any realistic scenario where that would cause problems, and it seems at least as likely that the check would break an app that intentionally does something clever. - R. -- 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/