Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756090AbXITBmj (ORCPT ); Wed, 19 Sep 2007 21:42:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751660AbXITBmb (ORCPT ); Wed, 19 Sep 2007 21:42:31 -0400 Received: from nz-out-0506.google.com ([64.233.162.234]:58751 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751482AbXITBma (ORCPT ); Wed, 19 Sep 2007 21:42:30 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eGyr8ZhClfOmDs5+4zhNQ9/OwcB7FWwo/44l1aupkq+Y/X7LG5wAtUqaaghxsrASXRw1FF5ZJzCJfkcdpVcOeky+B9rA7c2tAz7pskFZBAFahPSmpwisAYOHF6ZKF4W6Z7AZhxUB3BBuBN4m7r8aoIV3FXP8hiK6JNw0bJoSspo= Message-ID: <21d7e9970709191842h3111390cl8f09745bed6bd8f9@mail.gmail.com> Date: Thu, 20 Sep 2007 11:42:29 +1000 From: "Dave Airlie" To: "Andi Kleen" Subject: Re: X-freeze after clflush changes [Was: 2.6.23-rc6-mm1] Cc: "Andrew Morton" , "Jiri Slaby" , linux-kernel@vger.kernel.org In-Reply-To: <20070919192453.GB18707@one.firstfloor.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6268_20869991.1190252549189" References: <20070918011841.2381bd93.akpm@linux-foundation.org> <46F10B69.5070008@gmail.com> <46F10DCB.1090302@gmail.com> <46F13938.1070709@gmail.com> <20070919121017.0cbcbc30.akpm@linux-foundation.org> <20070919192453.GB18707@one.firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11708 Lines: 173 ------=_Part_6268_20869991.1190252549189 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > The code is broken anyways. If you free pages without flushing > them first some other innocent user allocating them will end up > with possible uncached pages for some time. > > Does this simple patch help? > I've attached a more complicated patch that does a 2 stage effort to unmapping and freeing pages. My kernel no longer hangs with this patch... Jiri can you confirm? I'll look at the other issue separately.. Dave. ------=_Part_6268_20869991.1190252549189 Content-Type: text/x-patch; name="0001-agp-fix-race-condition-between-unmapping-and-freein.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-agp-fix-race-condition-between-unmapping-and-freein.patch" X-Attachment-Id: f_f6t6q2rg RnJvbSAyMjU2OTZkNzVlN2VjMGJhZmJiNDdiOTM1YmQ3MDBlM2ZiZWVmYmRlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZlIEFpcmxpZSA8YWlybGllZEByZWRoYXQuY29tPgpEYXRl OiBUaHUsIDIwIFNlcCAyMDA3IDExOjMwOjQxICsxMDAwClN1YmplY3Q6IFtQQVRDSF0gYWdwOiBm aXggcmFjZSBjb25kaXRpb24gYmV0d2VlbiB1bm1hcHBpbmcgYW5kIGZyZWVpbmcgcGFnZXMKCldp dGggQW5kaSdzIGNsZmx1c2ggZml4dXAsIHdlIHdlcmUgZ2V0dGluZyBoYW5ncyBvbiBzZXJ2ZXIg ZXhpdCwgZmx1c2hpbmcKdGhlIG1hcHBpbmdzIGFmdGVyIGZyZWVpbmcgZWFjaCBwYWdlIGhlbHBl ZC4KClRoaXMgc2hvd2VkIHVwIGEgcmFjZSBjb25kaXRpb24gd2hlcmUgdGhlIHBhZ2VzIGFmdGVy IGJlaW5nIGZyZWVkIGNvdWxkIGJlCnJldXNlZCBiZWZvcmUgdGhlIGFncCBtYXBwaW5ncyBoYWQg YmVlbiBmbHVzaGVkLiBGbHVzaGluZyBhZnRlciBlYWNoIHNpbmdsZQpwYWdlIGlzIGEgYmFkIHRo aW5nIGZvciBmdXR1cmUgZHJtIHdvcmssIHNvIG1ha2UgdGhlIHBhZ2UgZGVzdHJveS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2Rlc3Ryb3lfcGFnZShnYXJ0X3RvX3ZpcnQoY3Vyci0+ bWVtb3J5WzBdKSwKKwkJCQkJCQkgICAgIEFHUF9QQUdFX0RFU1RST1lfRlJFRSk7CiAJCX0KIAkJ YWdwX2ZyZWVfcGFnZV9hcnJheShjdXJyKTsKIAl9Ci0tIAoxLjUuMi40Cgo= ------=_Part_6268_20869991.1190252549189-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/