From: Chris Wilson Date: Fri, 18 Jan 2013 16:31:14 +0000 (+0000) Subject: drm/udl: Inline memcmp() for RLE compression of xfer X-Git-Tag: v3.9-rc1~83^2~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90a4ea534b110a43df87a05587c53cd78569467;p=pandora-kernel.git drm/udl: Inline memcmp() for RLE compression of xfer As we use a variable length the compiler does not realise that it is a fixed value of either 2 or 4 bytes. Instead of performing the inline comparison itself, the compiler inserts a function call to the generic memcmp routine which is optimised for long comparisons of variable length. That turns out to be quite expensive... Signed-off-by: Chris Wilson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed