From: Jerome Glisse Subject: Re: ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator V5 Date: Mon, 14 Nov 2011 13:54:27 -0500 Message-ID: <20111114185427.GA5300@homer.localdomain> References: <1321051669-16675-1-git-send-email-j.glisse@gmail.com> <4EC12A95.7080808@vmware.com> <4EC13C92.5060105@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gy0-f177.google.com (mail-gy0-f177.google.com [209.85.160.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 68EC09F316 for ; Mon, 14 Nov 2011 10:50:33 -0800 (PST) Received: by gyf1 with SMTP id 1so6206394gyf.36 for ; Mon, 14 Nov 2011 10:50:33 -0800 (PST) Content-Disposition: inline In-Reply-To: <4EC13C92.5060105@vmware.com> 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: Thomas Hellstrom Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Mon, Nov 14, 2011 at 05:06:42PM +0100, Thomas Hellstrom wrote: > 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 > Btw can you review patch 14 as it touch vmwgfx, i am pretty sure i got it right. Cheers, Jerome