[etherlab-dev] [PATCH] Fix kmalloc while holding read lock on dev_base_lock

Esben Haabendal eha at dev.doredevelopment.dk
Fri Feb 12 10:09:12 CET 2010


Using the ec_generic driver on a standard (ie. non RT_PREEMPT) 2.6.32
kernel BUGs out on the kmalloc in ec_gen_init_module().
It might be that this happens to work on UP RT_PREEMPT kernels, but
AFAIK, kmalloc while holdning rwlock should be GFP_ATOMIC.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dev_base_lock_atomic.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20100212/9ccb18ae/attachment-0003.bin>

More information about the Etherlab-dev mailing list