From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 6 Apr 2007 12:30:09 -0700 From: Andrew Morton Subject: Re: preemption and rwsems (was: Re: missing madvise functionality) Message-Id: <20070406123010.802c76b4.akpm@linux-foundation.org> In-Reply-To: <20070406090822.GA2425@elte.hu> References: <46128051.9000609@redhat.com> <46128CC2.9090809@redhat.com> <20070403172841.GB23689@one.firstfloor.org> <20070403125903.3e8577f4.akpm@linux-foundation.org> <4612B645.7030902@redhat.com> <20070403202937.GE355@devserv.devel.redhat.com> <19526.1175777338@redhat.com> <20070405191129.GC22092@elte.hu> <20070405133742.88abc4f8.akpm@linux-foundation.org> <20070406090822.GA2425@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Ingo Molnar Cc: David Howells , Jakub Jelinek , Ulrich Drepper , Andi Kleen , Rik van Riel , Linux Kernel , linux-mm@kvack.org, Hugh Dickins List-ID: On Fri, 6 Apr 2007 11:08:22 +0200 Ingo Molnar wrote: > * Andrew Morton wrote: > > > > getting a good trace of it is easy: pick up the latest -rt kernel > > > from: > > > > > > http://redhat.com/~mingo/realtime-preempt/ > > > > > > enable EVENT_TRACING in that kernel, run the workload and do: > > > > > > scripts/trace-it > to-ingo.txt > > > > > > and send me the output. > > > > Did that - no output was generated. config at > > http://userweb.kernel.org/~akpm/config-akpm2.txt > > sorry, i forgot to mention that you should turn off > CONFIG_WAKEUP_TIMING. > > i've attached an updated version of trace-it.c, which will turn this off > itself, using a sysctl. I also made WAKEUP_TIMING default-off. ok. http://userweb.kernel.org/~akpm/to-ingo.txt is the trace of taskset -c 0 ./jakubs-test-app while the system was doing the 150,000 context switches/sec. It isn't very interesting. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org