From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V5 Date: Mon, 14 Nov 2011 17:06:42 +0100 Message-ID: <4EC13C92.5060105@vmware.com> References: <1321051669-16675-1-git-send-email-j.glisse@gmail.com> <4EC12A95.7080808@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [65.115.85.73]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B4BF9E853 for ; Mon, 14 Nov 2011 08:09:24 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 11/14/2011 05:02 PM, Jerome Glisse wrote: > On Mon, Nov 14, 2011 at 9:49 AM, Thomas Hellstrom wrote: > >> On 11/11/2011 11:47 PM, j.glisse@gmail.com wrote: >> >>> So attached is updated serie of patch with fixes for swaping issue >>> that also impacted memory accounting. >>> >> Jerome, >> Out of interest, what was the swapping issue? >> >> /Thomas >> >> >> > The page list was NULL and some access ended up freaking the kernel > and oom kicked in for some reason i still don't understand. Bottom > line things were going south in a split second leaving me with no log > or access, i thought it was accounting not working as it was what i > tested at the time. I should have tested accouting without the > patchset > > Cheers, > Jerome > Still, I think you have a point in the fact that *when* finally the OOM killer kicks in, it probably doesn't have a way to associate user-space created bos with processes and kill the right process. /Thomas