Re: [patch 1/8] Immediate Values - Global Modules List and Module Mutex

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: Alexey Dobriyan <adobriyan@...>, <akpm@...>, <linux-kernel@...>, H. Peter Anvin <hpa@...>
Date: Saturday, September 22, 2007 - 3:15 am

On Fri, 2007-09-21 at 09:37 -0400, Mathieu Desnoyers wrote:

Because having a magic early version is a bad burden to place on
programmers.  It's an admission of failure that we cannot create a
simpler interface.

AFAICT it's a handful of bytes which would be freed.


Again, I don't think calling kmalloc in NMI is valid.  Unless I'm
missing something, any code which uses locks is susceptible to deadlock
if used from an NMI handler.   So you really can't do much.

It's nice that you have the perfect solution.  But I'd really rather see
a sufficient solution which is 1/4 of the code and 1/10 the complexity.

Rusty.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Mon Sep 10, 8:45 pm)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Tue Sep 11, 10:27 am)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Thu Sep 13, 5:21 pm)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Fri Sep 14, 11:32 am)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Tue Sep 18, 9:41 am)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Mathieu Desnoyers, (Fri Sep 21, 9:37 am)
Re: [patch 1/8] Immediate Values - Global Modules List and M..., Rusty Russell, (Sat Sep 22, 3:15 am)