Messages in this thread | | | Date | Mon, 19 May 2008 19:34:39 -0700 (PDT) | Subject | Re: [patch v2] LMB: Add basic spin locking to lmb | From | David Miller <> |
| |
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: Mon, 19 May 2008 22:32:58 -0400
> I think the core memory hotplug is... However, we used to not change the > LMB when doing so (afaik, I'm travelling and not looking at the code > right now). However, things like PS3 memory hotplug tries to keep LMB is > sync for the sake of /dev/mem or similar and that happens before the > memory is added to the core.
But if the memory hotplug is synchronized, so are changes to the LMB tables.
And if there are LMB read side access concernes outside of the hotplug event, ideally we should use the synchronization mechanism that hotplug uses instead of adding a new one.
| |