lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 25 Feb 2010 12:09:26 +0900
From:	Tejun Heo <tj@...nel.org>
To:	Oleg Nesterov <oleg@...hat.com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Samu Onkalo <samu.p.onkalo@...ia.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] workqueues: s/2/WORK_STRUCT_STATIC/ in	WORK_DATA_STATIC_INIT()

Hello,

On 02/25/2010 05:20 AM, Oleg Nesterov wrote:
> Cosmetic. Don't hide WORK_STRUCT_STATIC from grep.
> 
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
> ---
> 
>  include/linux/workqueue.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- wq/include/linux/workqueue.h~3_STATIC_INIT_USE_STATIC	2010-02-24 20:33:43.000000000 +0100
> +++ wq/include/linux/workqueue.h	2010-02-24 21:01:20.000000000 +0100
> @@ -36,7 +36,7 @@ struct work_struct {
>  };
>  
>  #define WORK_DATA_INIT()	ATOMIC_LONG_INIT(0)
> -#define WORK_DATA_STATIC_INIT()	ATOMIC_LONG_INIT(2)
> +#define WORK_DATA_STATIC_INIT()	ATOMIC_LONG_INIT(1UL << WORK_STRUCT_STATIC)

I already have this in my cmwq patches.

Thanks.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ