Messages in this thread | | | Subject | Re: [PATCH] [CPU-HOTPLUG] convert cpucontrol to be a rwsem | From | Lee Revell <> | Date | Mon, 01 Nov 2004 13:04:37 -0500 |
| |
On Mon, 2004-11-01 at 07:00 -0700, Zwane Mwaikambo wrote: > Agreed it makes a lot more sense, i think there could be some places where > we use preempt_disable to protect against cpu offline which could > converted, but that can come later. >
You know I picked up Robert Love's book the other day and was surprised to read we are not supposed to be using preempt_disable, there is a per_cpu interface for exactly this kind of thing. Which is currently recommended?
Lee
- 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/
| |