lkml.org 
[lkml]   [2006]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 10 of 20] ipath - support for userspace apps using core driver
From
Date
    Bryan> We're mapping some memory that the chip DMAs to into
Bryan> userspace, so that user processes can spin on memory
Bryan> locations without going through the kernel. The
Bryan> SetPageReserved hack is an attempt to stop the VM from
Bryan> reclaiming those pages from us once a user process exits.

Bryan> I realise that it's surely bogus, and I'd be thrilled to do
Bryan> something correct instead. We've tried doing both
Bryan> SetPageReserved and get_page, but it hasn't work out too
Bryan> well so far.

What's wrong with doing get_page()? Surely the VM won't take pages
that you hold a reference to.

- 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/

\
 
 \ /
  Last update: 2006-03-10 01:35    [W:0.105 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site