Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753788AbWKHAmN (ORCPT ); Tue, 7 Nov 2006 19:42:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753791AbWKHAmN (ORCPT ); Tue, 7 Nov 2006 19:42:13 -0500 Received: from mailout1.vmware.com ([65.113.40.130]:30936 "EHLO mailout1.vmware.com") by vger.kernel.org with ESMTP id S1753788AbWKHAmM (ORCPT ); Tue, 7 Nov 2006 19:42:12 -0500 Message-ID: <455127E3.1050301@vmware.com> Date: Tue, 07 Nov 2006 16:42:11 -0800 From: Zachary Amsden User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Jeremy Fitzhardinge Cc: Andrew Morton , Rusty Russell , Linux Kernel Mailing List Subject: Re: [PATCH] Fix kunmap_atomic's use of kpte_clear_flush() References: <4551232A.4020203@goop.org> In-Reply-To: <4551232A.4020203@goop.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 16 Jeremy Fitzhardinge wrote: > kunmap_atomic() will call kpte_clear_flush with vaddr/ptep arguments > which don't correspond if the vaddr is just a normal lowmem address > (ie, not in the KMAP area). This patch makes sure that the pte is > only cleared if kmap area was actually used for the mapping. > > Signed-off-by: Jeremy Fitzhardinge > Signed-off-by: Rusty Russell > Cc: Zachary Amsden Ack. - 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/