Re: [PATCH] 2.5: preemptive kernel on UP

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Mar 04 2002 - 20:55:05 EST


> Better?

Not really

> +#if CONFIG_SMP || CONFIG_PREEMPT

#if [expression]

try

#if defined(a) || defined(b)

Interesting that the difference pre-empt makes is so large you didnt notice
you hadn't re-enabled it ;)

Alan

--
   "Nothing would please me more than being able to hire ten programmers 
      and deluge the hobby market with good software." -- Bill Gates 1976

We are still waiting ....

- 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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:37 EST