Re: [RFC] per thread page reservation patch
From: Robert Love <hidden>
Date: 2005-01-07 19:27:27
Also in:
lkml
From: Robert Love <hidden>
Date: 2005-01-07 19:27:27
Also in:
lkml
On Fri, 2005-01-07 at 19:05 +0000, Christoph Hellwig wrote:
int perthread_pages_reserve(int nrpages, int gfp)
{
LIST_HEAD(accumulator);
int i;
list_splice_init(¤t->private_pages, &accumulator);
Now the big question is, what's synchronizing access to
current->private_pages?Safe without locks so long as there is no other way to get at another process's private_pages. ;) Best, Robert Love -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>