Re: Alans example against preemtive kernel (Was: Re: [2.4.17/18pre] VM and swap - it's really unusable)

Alan Cox
2002-01-14T09:07:29Z

> This should be mostly OK for the preemptive kernel. Swapping the irq an=
> d spin=20
> lock lines should be preferred. But I think that is the case in SMP too=
> =2E..

You deadlock if you swap the two lines over. In this case for pre-empt you
really have to go in and add non pre-emption places to the driver