Messages in this thread | | | Date | Mon, 17 Mar 2014 14:50:34 +0800 | From | Tang Chen <> | Subject | Re: [RESEND v2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages. |
| |
On 03/14/2014 11:14 PM, Benjamin LaHaise wrote: ...... >> What about the following patch? It adds additional reference to protect the page >> avoid being freed when we reading it. >> ps.It is applied on linux-next(3-13). > > I think that's even worse than the spinlock approach since we'll end up > bouncing around the struct page's cacheline in addition to spinlock we're > going to end up taking anyways. >
Hi Benjamin,
I'm sorry, I don't quite understand the cacheline problem you mentioned above. Would you please explain more ?
Thanks.
| |