From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 25608] New: [PATCH] Move upper-limit calculations
outside while-loop
Date: Sat, 12 Dec 2009 04:33:59 -0800 (PST)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
http://bugs.freedesktop.org/show_bug.cgi?id=25608
Summary: [PATCH] Move upper-limit calculations outside while-loop
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: low
Component: Driver/nouveau
AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
ReportedBy: seven-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org
QAContact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
Created an attachment (id=32020)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32020)
Slight improvement in handling upper-boundary for DMA routines.
Attached is a small patch that moves the "line_count" upper limit calculation
outside the while loop in NVAccelUploadM2MF and NVAccelDownloadM2MF. Benefits
are (marginally) faster loops (less instructions, less branch-misses) and
slightly cleaner code (imho).
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.