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:	Thu, 28 May 2015 08:28:07 +0800
From:	"Wangnan (F)" <wangnan0@...wei.com>
To:	Arnaldo Carvalho de Melo <acme@...nel.org>
CC:	<paulus@...ba.org>, <a.p.zijlstra@...llo.nl>, <mingo@...hat.com>,
	<namhyung@...nel.org>, <jolsa@...nel.org>, <dsahern@...il.com>,
	<daniel@...earbox.net>, <brendan.d.gregg@...il.com>,
	<masami.hiramatsu.pt@...achi.com>, <lizefan@...wei.com>,
	<linux-kernel@...r.kernel.org>, <pi3orama@....com>
Subject: Re: [RFC PATCH v4 01/29] tools: Add __aligned_u64 to types.h



On 2015/5/27 21:00, Arnaldo Carvalho de Melo wrote:
> Em Wed, May 27, 2015 at 05:19:36AM +0000, Wang Nan escreveu:
>> Following patches will introduce linux/bpf.h to a new libbpf library,
>> which requires definition of __aligned_u64. This patch add it to the
>> common types.h for tools.
> This was already merged, see:
>
> http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/log/tools?h=perf/core
>
> More specifically:
>
> http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/tools?h=perf/core&id=70ba6b8f975bcff56e180e2c7550d2302fcbf923
>
> So you can drop it from your patchset.
>
> BTW, where are you basing your work?
>
> If you do it over tip/perf/core you may find some of the trivial stuff
> being added there, like this one.
>   
> - Arnaldo

I base my work on v4.1-rc3. I tried tip/perf/core but there are 
confliction and some trival
problems (patch 'perf probe: Load map before glob matching' is found 
during rebasing), and
that branch changes quicker than mainline. If you and others are 
satisfied with the basic
idea of v4, I'd like to rebase v5 on tip/perf/core.

Thank you.

>> Signed-off-by: Wang Nan <wangnan0@...wei.com>
>> ---
>>   tools/include/linux/types.h | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
>> index b5cf25e..10a2cdc 100644
>> --- a/tools/include/linux/types.h
>> +++ b/tools/include/linux/types.h
>> @@ -60,6 +60,11 @@ typedef __u32 __bitwise __be32;
>>   typedef __u64 __bitwise __le64;
>>   typedef __u64 __bitwise __be64;
>>   
>> +/* Taken from uapi/linux/types.h. Required by linux/bpf.h */
>> +#ifndef __aligned_u64
>> +# define __aligned_u64 __u64 __attribute__((aligned(8)))
>> +#endif
>> +
>>   struct list_head {
>>   	struct list_head *next, *prev;
>>   };
>> -- 
>> 1.8.3.4


--
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