[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <8u3s8d$jmp9g4@orsmga001.jf.intel.com>
Date: Mon, 27 Sep 2010 09:36:09 +0100
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Hugh Dickins <hughd@...gle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Rik van Riel <riel@...hat.com>,
Christoph Hellwig <hch@...radead.org>
Subject: Re: How best to pin pages in physical memory?
On Sun, 26 Sep 2010 16:29:23 -0700 (PDT), Hugh Dickins <hughd@...gle.com> wrote:
> If i915_get_object_get_pages() isn't doing its job, I think you need to
> wonder why not - maybe somewhere doing a put_page or page_cache_release,
> freeing one or all pages too soon?
Thanks, that's a very useful bit of review. I surmised that after seeing
corruption in a batch buffer after a swap storm that the pages were not as
safe required. The fact that swapping was involved could have been a
coincidence, except for the growing number of reports from other users
reporting crashes in conjunction with swapping.
So back to seeing whether i915_gem_object_[get/put]_pages is sufficient
for our uses.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists