From: Dave Jones Date: Tue, 3 Oct 2006 08:14:47 +0000 (-0700) Subject: [PATCH] fbcon: Use persistent allocation for cursor blinking X-Git-Tag: v2.6.19-rc1~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e299dd4d7c5f38a24045e0578049d872b62f21eb;p=pandora-kernel.git [PATCH] fbcon: Use persistent allocation for cursor blinking Every time the console cursor blinks, we do a kmalloc/kfree pair. This patch turns that into a single allocation. This allocation was the most frequent kmalloc I saw on my test box. [adaplas] Per Alan's suggestion, move global variables to fbcon's private structure. This would also avoid resource leaks when fbcon is unloaded. Signed-off-by: Dave Jones Acked-by: Alan Cox Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed