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]
Date:	Sat, 1 May 2010 22:29:15 +0300
From:	Alexander Shishkin <virtuoso@...nd.org>
To:	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc:	Imre Deak <imre.deak@...ia.com>,
	Russell King - ARM Linux <linux@....linux.org.uk>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	Jamie Lokier <jamie@...reable.org>,
	"rostedt@...dmis.org" <rostedt@...dmis.org>,
	"mingo@...e.hu" <mingo@...e.hu>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH] create generic alignment api (v5)

On Sat, May 01, 2010 at 03:10:45 -0400, Mathieu Desnoyers wrote:
> * Alexander Shishkin (virtuoso@...nd.org) wrote:
> > On Sun, Mar 28, 2010 at 08:09:00 -0400, Mathieu Desnoyers wrote:
> > > Rather than re-doing the "alignment on a type size" trick all over again at
> > > different levels, import the "ltt_align" from LTTng into kernel.h and make this
> > > available to everyone. Renaming to:
> > > 
> > > - object_align()
> > > - object_align_floor()
> > > - offset_align()
> > > - offset_align_floor()
> > 
> > Do you plan to have this integrated to the mainline? I'd like to use one of
> > these in my next version of the __xchg patch. So, do you need any help or
> > feedback or whatnot with this one?
> 
> Given that no one seems to oppose to this patch, I think I'll just re-submit it
> as-is for real this time.

Sorry, a short explanation: it has to be a separate header file in order to be of
use to me, since I need those in system.h, which gets included implicitly through
bitops.h earlier in kernel.h.

So I took the liberty to hack up a v6 of this patch.

Regards,
--
Alex
--
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