Re: [PATCH] kernel/async.c:introduce async_schedule*_atomic
From: Ming Lei
Date: Tue May 12 2009 - 20:37:44 EST
2009/5/12 Américo Wang <xiyou.wangcong@xxxxxxxxx>:
> On Tue, May 12, 2009 at 05:44:58PM +0200, Frederic Weisbecker wrote:
>>On Tue, May 12, 2009 at 11:13:42PM +0800, tom.leiming@xxxxxxxxx wrote:
>>> From: Ming Lei <tom.leiming@xxxxxxxxx>
>>>
>>> - if (!async_enabled || !entry || atomic_read(&entry_count) > MAX_WORK) {
>>> + sync_run = !async_enabled || !entry || \
>>> + atomic_read(&entry_count) > MAX_WORK;
>
>
> And also this one...
>
> Hey, Ming, none of these are macros... You don't need to add backslash to
> join two lines, C compilers can recognize.
OK, I'll fix it in next version.
Thanks!
>
> --
> Live like a child, think like the god.
>
>
--
Lei Ming
--
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/