Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162429Ab3DEVD4 (ORCPT ); Fri, 5 Apr 2013 17:03:56 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:48819 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162097Ab3DEVDy (ORCPT ); Fri, 5 Apr 2013 17:03:54 -0400 MIME-Version: 1.0 In-Reply-To: <515F3948.40205@linux.vnet.ibm.com> References: <20130324155153.GA8597@redhat.com> <515F3160.4020007@linux.vnet.ibm.com> <515F3948.40205@linux.vnet.ibm.com> From: Roland Dreier Date: Fri, 5 Apr 2013 14:03:33 -0700 X-Google-Sender-Auth: a1xYx1letEcEbZ_7Gpcu-UvEtQw Message-ID: Subject: Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag To: "Michael R. Hines" Cc: "Michael S. Tsirkin" , Jason Gunthorpe , Sean Hefty , Hal Rosenstock , Yishai Hadas , Christoph Lameter , "linux-rdma@vger.kernel.org" , LKML , qemu-devel@nongnu.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 20 On Fri, Apr 5, 2013 at 1:51 PM, Michael R. Hines wrote: > Sorry, I was wrong. ignore the comments about cgroups. That's still broken. > (i.e. trying to register RDMA memory while using a cgroup swap limit cause > the process get killed). > > But the GIFT flag patch works (my understanding is that GIFT flag allows the > adapter to transmit stale memory information, it does not have anything to > do with cgroups specifically). The point of the GIFT patch is to avoid triggering copy-on-write so that memory doesn't blow up during migration. If that doesn't work then there's no point to the patch. - 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/