Messages in this thread | | | Subject | Re: [RFC] per thread page reservation patch | From | Robert Love <> | Date | Fri, 07 Jan 2005 14:21:16 -0500 |
| |
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 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/
| |