[lkml]   [2008]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [ANNOUNCE] mdb-2.6.27-rc2-ia32-08-07-08.patch
I wrote:
> wrote:
>> check mdb-main.c -- I disable preemption before rspin_lock is
>> attempted.
> Then it is recommendable that you document the call context requirements
> at the functions.

An alternative would of course be to establish the non-preemptible
context from inside the lock accessors, either redundantly to what the
call site is doing, or instead of doing it at the call site if that can
be arranged.
Stefan Richter
-=====-==--- =--- --===

 \ /
  Last update: 2008-08-07 19:37    [W:0.064 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site