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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061228144243.a54046dc.akpm@osdl.org>
Date:	Thu, 28 Dec 2006 14:42:43 -0800
From:	Andrew Morton <akpm@...l.org>
To:	suparna@...ibm.com
Cc:	linux-aio@...ck.org, drepper@...hat.com,
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	jakub@...hat.com, mingo@...e.hu
Subject: Re: [FSAIO][PATCH 3/8] Routines to initialize and test a wait bit
 key

On Thu, 28 Dec 2006 14:09:00 +0530
Suparna Bhattacharya <suparna@...ibm.com> wrote:

> +#define init_wait_bit_key(waitbit, word, bit)				\
> +	do {								\
> +		(waitbit)->key.flags = word;				\
> +		(waitbit)->key.bit_nr = bit;				\
> +	} while (0)
> +
> +#define init_wait_bit_task(waitbit, tsk)				\
> +	do {								\
> +		(waitbit)->wait.private = tsk;				\
> +		(waitbit)->wait.func = wake_bit_function;		\
> +		INIT_LIST_HEAD(&(waitbit)->wait.task_list);		\
> +	} while (0)

Can we convert these to C functions (inlined or regular, probably inlined
would be better)?
-
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