Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756309AbZFENoA (ORCPT ); Fri, 5 Jun 2009 09:44:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756302AbZFENns (ORCPT ); Fri, 5 Jun 2009 09:43:48 -0400 Received: from mx-out.daemonmail.net ([216.104.160.38]:45812 "EHLO mx-out.daemonmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756203AbZFENnr (ORCPT ); Fri, 5 Jun 2009 09:43:47 -0400 From: "Michael S. Zick" Reply-To: lkml@morethan.org To: Harald Welte Subject: Re: VIA CPU PCI cache line size (Re: Linux 2.6.30-rc8 [also: VIA Support]) Date: Fri, 5 Jun 2009 08:43:40 -0500 User-Agent: KMail/1.9.9 Cc: Dave Jones , Linus Torvalds , Duane Griffin , Linux Kernel Mailing List References: <20090605001510.GA2479@redhat.com> <20090605110819.GI4421@prithivi.gnumonks.org> In-Reply-To: <20090605110819.GI4421@prithivi.gnumonks.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906050843.42593.lkml@morethan.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 24 On Fri June 5 2009, Harald Welte wrote: > On Thu, Jun 04, 2009 at 08:15:10PM -0400, Dave Jones wrote: > > > I meant just doing something like this.. > > > > (untested) > > > > I'm not sure if the clflush_size==0 case can happen, which is why > > I left the fallback. Maybe on ancient cpus? > > this patch looks fine with me. I didn't do any testing yet either, though. > Although not coded as Dave J. suggests - I have been re-setting the that value to the cpu cache line size for a week or two now. It doesn't break anything in an obvious way - does seem to help. Mike -- 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/