Skip to contentSkip to conversation

New: [PATCH] Move upper-limit calculations outside while-loop

Bug 25608 New [email protected] 1 participant 3 messages Dec 12, 2009 – Feb 9, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: seven-FA6nBp6kBxZzu6KWmfFNGwC/[email protected]
QAContact: [email protected]

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).

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-25608-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

PATCH 1/1 nouveau_exa.c: Move upper-limit calculations outside while-loop

http://bugs.freedesktop.org/show_bug.cgi?id=25608

Roy <seven-FA6nBp6kBxZzu6KWmfFNGwC/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[PATCH] Move upper-limit    |[PATCH] nouveau_exa.c: Move
                   |calculations outside while- |upper-limit calculations
                   |loop                        |outside while-loop
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

PATCH 1/1 nouveau_exa.c: Move upper-limit calculations outside while-loop

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=25608

Lucas Stach <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Lucas Stach <[email protected]> 2011-02-09 02:48:38 PST --- Closing this since the mentioned improvement is in repository. Didn't check
since when.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.