Re: [PATCH for 2.5] preemptible kernel

David S. Miller (davem@redhat.com)
Wed, 21 Mar 2001 01:41:25 -0800 (PST)


Keith Owens writes:
> Or have I missed something?

Nope, it is a fundamental problem with such kernel pre-emption
schemes. As a result, it would also break our big-reader locks
(see include/linux/brlock.h).

Basically, anything which uses smp_processor_id() would need to
be holding some lock so as to not get pre-empted.

Later,
David S. Miller
davem@redhat.com
-
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/