New: [PATCH] Move upper-limit calculations outside while-loop
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.
PATCH 1/1 nouveau_exa.c: Move upper-limit calculations outside while-loop
In reply to a message not in the archivehttp://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-loopSignature · 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.
PATCH 1/1 nouveau_exa.c: Move upper-limit calculations outside while-loop
In reply to a message not in the archivehttps://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.