xfs
[Top] [All Lists]

TAKE 971902 - eagerly remove vmap mappings to avoid upsetting Xen

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 971902 - eagerly remove vmap mappings to avoid upsetting Xen
From: dgc@xxxxxxx (David Chinner)
Date: Tue, 16 Oct 2007 13:10:38 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
eagerly remove vmap mappings to avoid upsetting Xen

XFS leaves stray mappings around when it vmaps memory to make it
virtually contigious.  This upsets Xen if one of those pages is being
recycled into a pagetable, since it finds an extra writable mapping of
the page.

This patch solves the problem in a brute force way, by making XFS
always eagerly unmap its mappings.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>


Date:  Tue Oct 16 13:10:07 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  jeremy@xxxxxxxxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:29886a
fs/xfs/linux-2.6/xfs_buf.c - 1.246 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_buf.c.diff?r1=text&tr1=1.246&r2=text&tr2=1.245&f=h
        - Always unmap buffers immediately if we are configure to run Xen.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 971902 - eagerly remove vmap mappings to avoid upsetting Xen, David Chinner <=