Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751822AbWHATPl (ORCPT ); Tue, 1 Aug 2006 15:15:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751823AbWHATPk (ORCPT ); Tue, 1 Aug 2006 15:15:40 -0400 Received: from sj-iport-4.cisco.com ([171.68.10.86]:28849 "EHLO sj-iport-4.cisco.com") by vger.kernel.org with ESMTP id S1751819AbWHATPh (ORCPT ); Tue, 1 Aug 2006 15:15:37 -0400 X-IronPort-AV: i="4.07,203,1151910000"; d="scan'208"; a="1843417399:sNHT32197068" To: Dave Jones Cc: Linux Kernel Subject: Re: use persistent allocation for cursor blinking. X-Message-Flag: Warning: May contain useful information References: <20060801185618.GS22240@redhat.com> From: Roland Dreier Date: Tue, 01 Aug 2006 12:15:35 -0700 In-Reply-To: <20060801185618.GS22240@redhat.com> (Dave Jones's message of "Tue, 1 Aug 2006 14:56:18 -0400") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 01 Aug 2006 19:15:36.0480 (UTC) FILETIME=[DE3F7A00:01C6B59E] Authentication-Results: sj-dkim-6.cisco.com; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 13 > Every time the console cursor blinks, we do a kmalloc/kfree pair. > This patch turns that into a single allocation. A naive question from someone who knows nothing about this subsystem: is there any possibility of concurrent calls into this function, for example if there are multiple cursors on a multiheaded system? - R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/