[lkml]   [2006]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Export current_is_keventd() for libphy

On Wed, 6 Dec 2006, Linus Torvalds wrote:
> Gcc should do it for us, afaik. I didn't check, but gcc is generally
> pretty good at combining logical operations like this, because it's very
> common.

Sadly, gcc doesn't do it in this case. Still, I'd rather keep the source
clean, and hope that the compiler improves eventually, than to make the
code uglier.

I replaced both of the "test_bit(WORK_STRUCT_PENDING, &work->management)"
with "work_pending(work)" in my tree.

Now somebody who knows how to trigger this thing should just _test_ it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2009-11-18 23:46    [W:0.078 / U:1.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site