From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: regression from c/s 22071:c5aed2e049bc (ept: Put locks around ept_get_entry) ? Date: Tue, 14 Dec 2010 08:39:06 +0000 Message-ID: <4D073B3A0200007800027BDF@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org George, with ept_get_entry() calling ept_pod_check_and_populate(), which in turn unconditionally calls p2m_lock(), we got a report of the BUG() in p2m_lock() triggering (in a backport of the patch on top of 4.0.1 - the logic seems unchanged in -unstable, and hence the issue ought to similarly exist there). Wouldn't therefore ept_pod_check_and_populate(), only ever called from ept_get_entry(), not need to do any locking on its own at all? Thanks, Jan