From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762375AbZE1SLB (ORCPT ); Thu, 28 May 2009 14:11:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754648AbZE1SKx (ORCPT ); Thu, 28 May 2009 14:10:53 -0400 Received: from fifo99.com ([67.223.236.141]:40731 "EHLO fifo99.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752910AbZE1SKw (ORCPT ); Thu, 28 May 2009 14:10:52 -0400 Subject: Re: [PATCH] sched: Support current clocksource handling in fallback sched_clock(). From: Daniel Walker To: Paul Mundt Cc: Peter Zijlstra , Thomas Gleixner , Linus Walleij , Ingo Molnar , Andrew Victor , Haavard Skinnemoen , Andrew Morton , linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, John Stultz In-Reply-To: <20090528175341.GA32118@linux-sh.org> References: <20090528110902.GA27884@linux-sh.org> <20090528124207.GA28830@linux-sh.org> <1243515570.6600.96.camel@laptop> <1243527218.28705.35.camel@desktop> <1243528329.6645.77.camel@laptop> <20090528164011.GA30104@linux-sh.org> <1243529547.28705.43.camel@desktop> <20090528165816.GA31688@linux-sh.org> <1243532324.28705.75.camel@desktop> <20090528175341.GA32118@linux-sh.org> Content-Type: text/plain Date: Thu, 28 May 2009 11:10:52 -0700 Message-Id: <1243534252.28705.86.camel@desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2009-05-29 at 02:53 +0900, Paul Mundt wrote: > As I already stated, yes. > > We have multiple clock sources for most CPUs. These can be set up in any > sort of configuration, and there are pros and cons to using different > ones. The ones that are available can in turn be cycled between. I don't > know what exactly is difficult to understand about this. I understand that cpu's can have multiple clocks, that's not a hard concept to grasp. > Yes, we want to be able to use modular clocksources. The only reason we > don't right now is because some more preparatory work is needed first. > Any attempt to remove support for modular clocksources means we will just > have to add it in back later. This is what's difficult to understand.. You have multiple clocks ok, fine.. You have multiple clocks that you want the kernel to switch between, ok that's fine too.. What's missing is the case where clocksource modules being loaded/unload via the user becomes a valuable use case.. If you have a valuable use case for that, fine, I won't stand in the way .. Daniel