Re: [PATCH] docbook: some kernel-locking fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Thursday, April 3, 2008 - 4:39 pm

On Thursday 03 April 2008 07:47:50 Randy Dunlap wrote:

OK, other than documenting the inconsistent horror of down_trylock, I don't 
like this patch.  This document is not about documenting the functions, but 
providing an overview and pointing to them (where you can read to your 
heart's content).

This is a worthy addition, but it's a paragraph, not a chapter.  Unless you 
want to document why you would use the trylock variants (can mutex_trylock 
and down_trylock be used from interrupt context?  Or are they only useful to 
avoid deadlock?  How are they actually used in the kernel?)

Thanks,
Rusty.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] docbook: some kernel-locking fixes, Randy Dunlap, (Wed Apr 2, 2:47 pm)
Re: [PATCH] docbook: some kernel-locking fixes, Rusty Russell, (Thu Apr 3, 4:39 pm)