Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965052AbWADF05 (ORCPT ); Wed, 4 Jan 2006 00:26:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965217AbWADF04 (ORCPT ); Wed, 4 Jan 2006 00:26:56 -0500 Received: from mx1.redhat.com ([66.187.233.31]:61856 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S965052AbWADF0x (ORCPT ); Wed, 4 Jan 2006 00:26:53 -0500 Date: Wed, 4 Jan 2006 00:26:35 -0500 From: Dave Jones To: Keith Owens Cc: Matt Mackall , linux-kernel@vger.kernel.org Subject: Re: [POLL] SLAB : Are the 32 and 192 bytes caches really usefull on x86_64 machines ? Message-ID: <20060104052635.GA5558@redhat.com> Mail-Followup-To: Dave Jones , Keith Owens , Matt Mackall , linux-kernel@vger.kernel.org References: <20051229012915.GB3286@redhat.com> <23471.1135821010@ocs3.ocs.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23471.1135821010@ocs3.ocs.com.au> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1225 Lines: 28 On Thu, Dec 29, 2005 at 12:50:10PM +1100, Keith Owens wrote: > Dave Jones (on Wed, 28 Dec 2005 20:29:15 -0500) wrote: > > > > > Something like this: > > > > > > http://lwn.net/Articles/124374/ > > > >One thing that really sticks out like a sore thumb is soft_cursor() > >That thing gets called a *lot*, and every time it does a kmalloc/free > >pair that 99.9% of the time is going to be the same size alloc as > >it was the last time. This patch makes that alloc persistent > >(and does a realloc if the size changes). > >The only time it should change is if the font/resolution changes I think. > > Can soft_cursor() be called from multiple processes at the same time, > in particular with dual head systems? If so then a static variable is > not going to work. I looked at this a little closer. If my understanding of the console/fb layers is correct, soft_cursor() is serialised by the console_sem in drivers/video/console/fbcon.c::fb_flashcursor() Dave - 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/