Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755357AbXFZCDR (ORCPT ); Mon, 25 Jun 2007 22:03:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752131AbXFZCDF (ORCPT ); Mon, 25 Jun 2007 22:03:05 -0400 Received: from ms-smtp-02.nyroc.rr.com ([24.24.2.56]:61410 "EHLO ms-smtp-02.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbXFZCDC (ORCPT ); Mon, 25 Jun 2007 22:03:02 -0400 Subject: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues From: Steven Rostedt To: Dan Williams Cc: Ingo Molnar , Linus Torvalds , LKML , Andrew Morton , Thomas Gleixner , Christoph Hellwig , john stultz , Oleg Nesterov , "Paul E. McKenney" , Dipankar Sarma , "David S. Miller" , kuznet@ms2.inr.ac.ru In-Reply-To: References: <20070622040014.234651401@goodmis.org> <20070622204058.GA11777@elte.hu> <20070622215953.GA22917@elte.hu> Content-Type: text/plain Date: Mon, 25 Jun 2007 22:01:16 -0400 Message-Id: <1182823276.5493.240.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 24 On Mon, 2007-06-25 at 18:46 -0700, Dan Williams wrote: > > Context switches on this platform flush the L1 cache so bouncing > between a workqueue and the MD thread is painful. Why is context switches between two kernel threads flushing the L1 cache? Is this a flaw in the ARM arch? I would think the only thing that needs to be done between a context switch of two kernel threads (or even a user thread to a kernel thread) is update the general regs and stack. The memory access (page_tables or whatever ARM uses) should stay the same. Perhaps something else is at fault here. Thanks for testing! -- Steve - 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/