[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090306225312.GA25593@silver.sucs.org>
Date: Fri, 6 Mar 2009 22:53:12 +0000
From: Sitsofe Wheeler <sitsofe@...oo.com>
To: Darren Hart <dvhltc@...ibm.com>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
"lkml, " <linux-kernel@...r.kernel.org>
Subject: Re: Dynamically determine if kernel includes CFS Scheduler
On Fri, Mar 06, 2009 at 12:44:30PM -0800, Darren Hart wrote:
> I've received an internal request for a means to determine at run-time
> if the CFS scheduler is included in the running kernel. Looking through
> the git commit log and the /proc/sys/kernel filesystem, I think I see
> two approaches:
Sounds dangerous (you are dependent on scheduler beahviour) but if it
exists you could check /proc/config.gz (or the config file in the /boot
directory)...
--
Sitsofe | http://sucs.org/~sits/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists