WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] x86_64 linux: don't use USER_PTRS_PER_PGD in mm_walk

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86_64 linux: don't use USER_PTRS_PER_PGD in mm_walk()
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 07 Feb 2006 17:05:53 +0100
Delivery-date: Tue, 07 Feb 2006 16:16:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Since USER_PTRS_PER_PGD depends on TASK_SIZE and thus on the current thread, it 
must not be used in code that can be
called in the context switch path (otherwise the 32-bitness of the outgoing 
task is used here rather then the 32-bitness
of the incoming one, possibly resulting in large parts of the page tables not 
getting converted to read-only).

Jan

Attachment: xenlinux-x86_64-mm_walk.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86_64 linux: don't use USER_PTRS_PER_PGD in mm_walk(), Jan Beulich <=