Re: [PATCH] 2.5: preemptive kernel on UP

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 5 Mar 2002 01:55:05 +0000 (GMT)


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