hvc console sleep under spinlock
Olof Johansson
olof at austin.ibm.com
Fri Oct 31 14:40:07 EST 2003
Nathan Lynch wrote:
>> Would something like this suffice? I haven't tested it with the
>> spinlock debug patch, but I have booted and run it with no apparent
>> problems.
>
>
> Er, ignore that earlier patch; it introduces an unused variable and a
> memory leak. How about this one?
The return value of kmalloc() is never verified to be non-NULL.
Besides that it looks good to me.
-Olof
--
Olof Johansson Office: 4E002/905
pSeries Linux Development IBM Systems Group
Email: olof at austin.ibm.com Phone: 512-838-9858
All opinions are my own and not those of IBM
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list