kynesim / kbus

Automatically exported from code.google.com/p/kbus
Other
5 stars 2 forks source link

kernel module must cope with removal of init_MUTEX in 2.6.37 #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
https://patchwork.kernel.org/patch/291752/ made the change.

If we are only using a sema as a big kbus lock, we probably ought to be using a 
mutex instead. (http://lwn.net/Articles/165039/ refers; it looks like Ingo 
Molnar's work which was accepted.) I have a tentative patch to do this in my 
mainline test repo.

Original issue reported on code.google.com by crazys...@gmail.com on 11 Jan 2011 at 5:49

GoogleCodeExporter commented 9 years ago

Original comment by crazys...@gmail.com on 11 Jan 2011 at 5:50

GoogleCodeExporter commented 9 years ago
This was done and pushed to the kernel repo in what became hg id 001bf4df51a3.

Original comment by crazys...@gmail.com on 24 Jan 2011 at 2:53

GoogleCodeExporter commented 9 years ago
FAOD the fix is compatible with many kernels before 2.6.37 as it uses the mutex 
support which has been around since 2005.

Original comment by crazys...@gmail.com on 24 Jan 2011 at 2:54