lkml.org 
[lkml]   [2006]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.16-rt10 crash on ppc

* Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> Yes, that patch is basically what I had in mind.
>
> Is -rt ever allocating memory from really-hard-don't-preempt-me
> context? I guess not, unless the zone->lock is one of those locks too,
> right?

no. zone->lock (and all the slab locks, and all the other MM locks) are
fully preemptible too.

> Should you add a
>
> #else
> BUG_ON(_really_dont_preempt_me());
> #endif
>
> just for safety, or will such misusage get caught elsewhere (eg. when
> attempting to take zone->lock).

it should be caught immediately, by the cond_resched().

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-30 09:18    [W:0.056 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site