From: Ian Campbell Subject: [PATCH V2 0/4] arm: per-PCPU pagetables Date: Tue, 23 Apr 2013 11:19:37 +0100 Message-ID: <1366712377.20256.114.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Julien Grall , George Dunlap , "Tim (Xen.org)" , Sengul Thomas , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Sengul Thomas observed that Xen was updating the domheap mappings without a lock and that this caused problems on SMP systems. The underlying problem here is that the domheap mappings are supposed to be per-PCPU but were not, instead all PCPUs are currently sharing the same pagetables and therefore using the same mappings. Implement per-PCPU page tables and give each PCPU its own domheap mapping pages. Sengul, thanks for your bugreport, I wonder if you could test this series? WRT the Freeze this change represents a bug fix not a feature... Changes in V2: dropped patch "arm: remove incorrect dcache flush at start of day." which was itself incorrect. addressed Stefano's review on the meaty patch. added a patch to BUILD_BUG_ON various address space alignment constraints. Ian.