[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47D086A4.6090103@mxtelecom.com>
Date: Fri, 07 Mar 2008 00:04:52 +0000
From: Matthew Hodgson <matthew@...elecom.com>
To: linux-kernel@...r.kernel.org
Subject: Toggling preemption on a running kernel
Hi,
I'm trying to compare the performance of some networking code
(throughput and latency when receiving various volumes of UDP streams)
between a preemptible and non-preemptible 2.6.24 kernel, and was
wondering if it is possible to temporarily disable preemption on a
running preemptible kernel. Is it just a matter of loading a module
which calls preempt_enable() at load and preempt_disable() at unload -
or is that too naive? Is there an existing way of doing this?
thanks,
Matthew.
--
Matthew Hodgson <matthew@...elecom.com>
Media & Systems Project Manager
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com
--
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