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  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, 27 Dec 2007 16:18:09 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	travis@....com
Cc:	akpm@...ux-foundation.org, clameter@....com, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, rusty@...tcorp.com.au, ak@...e.de
Subject: Re: [PATCH 03/10] percpu: Make the asm-generic/percpu.h more
 "generic"

From: travis@....com
Date: Thu, 27 Dec 2007 16:10:49 -0800

> V1->V2:
> - add support for PER_CPU_ATTRIBUTES
> 
> Add the ability to use generic/percpu even if the arch needs to override
> several aspects of its operations. This will enable the use of generic
> percpu.h for all arches.
> 
> An arch may define:
> 
> __per_cpu_offset	Do not use the generic pointer array. Arch must
> 			define per_cpu_offset(cpu) (used by x86_64, s390).
> 
> __my_cpu_offset		Can be defined to provide an optimized way to determine
> 			the offset for variables of the currently executing
> 			processor. Used by ia64, x86_64, x86_32, sparc64, s/390.
> 
> SHIFT_PTR(ptr, offset)	If an arch defines it then special handling
> 			of pointer arithmentic may be implemented. Used
> 			by s/390.
> 
> 
> (Some of these special percpu arch implementations may be later consolidated
> so that there are less cases to deal with.)
> 
> Cc: Rusty Russell <rusty@...tcorp.com.au>
> Cc: Andi Kleen <ak@...e.de>
> Signed-off-by: Christoph Lameter <clameter@....com>
> Signed-off-by: Mike Travis <travis@....com>

Acked-by: David S. Miller <davem@...emloft.net>
--
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