Re: [PATCH -rt] scheduling while atomic in fs/file.c

From: Steven Rostedt
Date: Mon May 15 2006 - 10:05:33 EST



On Mon, 15 May 2006, Daniel Walker wrote:

>
> Why would it be a problem if the timer moved ? Or the work queue? both
> are protected under a spinlock which is consistently held .
>

fine, but the patch is still wrong. If it really doesn't matter
which one it's on, instead of moving the put, just get the cpu var with
per_cpu(fdtable_defer_list, raw_smp_processor_id()) and get rid of the put
altogether.

Ingo,

Didn't John have a patch that did something with get_percpu_var() that
made this simple?

-- Steve

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