lkml.org 
[lkml]   [2006]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -rt] scheduling while atomic in fs/file.c

* Daniel Walker <dwalker@mvista.com> wrote:

> - fddef = &get_cpu_var(fdtable_defer_list);
> + fddef = &__get_cpu_var(fdtable_defer_list);

ok, the bug you found is real - but i dont like the fix: now we will be
using smp_processor_id() in preemptible code, which will trip up under
DEBUG_PREEMPT. Since in this particular case any CPU is fine,
per_cpu(...,raw_smp_processor_id()) ought to do the trick. Mind to
update the patch?

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-05-03 22:42    [W:0.058 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site