Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757824AbZJOHru (ORCPT ); Thu, 15 Oct 2009 03:47:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754063AbZJOHrt (ORCPT ); Thu, 15 Oct 2009 03:47:49 -0400 Received: from vpn.id2.novell.com ([195.33.99.129]:35573 "EHLO vpn.id2.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752056AbZJOHrs convert rfc822-to-8bit (ORCPT ); Thu, 15 Oct 2009 03:47:48 -0400 Message-Id: <4AD6EFD7020000780001A067@vpn.id2.novell.com> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 15 Oct 2009 08:48:07 +0100 From: "Jan Beulich" To: "Thomas Schlichter" Cc: "Jeremy Fitzhardinge" , "Robert Hancock" , "Henrique de Moraes Holschuh" , "Suresh Siddha" , "Venkatesh Pallipadi" , "Tejun Heo" , , "Yinghai Lu" , "Thomas Gleixner" , "Arjan van de Ven" , , "Ingo Molnar" , , , "Thomas Hellstrom" , "H. Peter Anvin" Subject: Re: [RFC Patch] use MTRR for write combining if PAT is not available References: <4AD449A702000078000197EE@vpn.id2.novell.com> <200910132329.05152.thomas.schlichter@web.de> <4AD5A4540200007800019CE9@vpn.id2.novell.com> <200910142114.12433.thomas.schlichter@web.de> In-Reply-To: <200910142114.12433.thomas.schlichter@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 18 >>> Thomas Schlichter 14.10.09 21:14 >>> >I added a function mtrr_add_unaligned() that tries to create as many MTRR >entries as necessary, beginning with the biggest regions. It does not check >the return values of each mtrr_add(), nor does it return the indexes of the >created MTRR entries. So it seems to be only useful with increment=false. Or >do you have a better idea? I don't have immediate thoughts on how to address this, but nevertheless I continue to think that the issue must be solved in some way, even more that now you may be leaking multiple MTRRs. Jan -- 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/