Displaying 7 results from an estimated 7 matches for "memzero".
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...types.h>
+#include <sys/stat.h>
+#include <syslog.h>
+
+#include <stdio.h>
+#include <utmp.h>
+#include <pwd.h>
+
+#include <sys/resource.h>
+#define LIMITS
+
+#ifdef LIMITS
+
+#ifndef LIMITS_FILE
+#define LIMITS_FILE "/etc/limits"
+#endif
+
+#define memzero(ptr, size) memset((void *)(ptr), 0, (size))
+
+#define LOGIN_ERROR_RLIMIT 1
+#define LOGIN_ERROR_LOGIN 2
+
+/* Set a limit on a resource */
+/*
+ * rlimit - RLIMIT_XXXX
+ * value - string value to be read
+ * multiplier - value*multiplier is the actual limit
+ */
+static int
+setrlimit_value(unsign...
2015 Nov 04
2
Vectorizing structure reads, writes, etc on X86-64 AVX
...(%rcx,%rax) <--- 32-byte store
popq %rbp
vzeroupper
retq
On Wed, Nov 4, 2015 at 8:11 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> Thanks, Hal.
>
> That code is very readable. Basically, the following has to be true
> - not a memset or memzero [check]
> - no implicit floats [check]
> - size greater than 16 [check, it's 32]
> - ! isUnalignedMem16Slow [check?]
> - int256, fp256, or sse2, or sse1 is around [check]
>
> That last condition is:
> - src & dst alignment is 0 or greater than 16
>
> I think this...
2015 Nov 03
2
Vectorizing structure reads, writes, etc on X86-64 AVX
----- Original Message -----
> From: "Sanjay Patel via llvm-dev" <llvm-dev at lists.llvm.org>
> To: "Jay McCarthy" <jay.mccarthy at gmail.com>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>
> Sent: Tuesday, November 3, 2015 12:30:51 PM
> Subject: Re: [llvm-dev] Vectorizing structure reads, writes, etc on X86-64 AVX
>
> If the
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
...en/arch/arm/lib/findbit.S | 115 ++++++
xen/arch/arm/lib/lib1funcs.S | 302 ++++++++++++++++
xen/arch/arm/lib/memcpy.S | 64 ++++
xen/arch/arm/lib/memmove.S | 200 +++++++++++
xen/arch/arm/lib/memset.S | 129 +++++++
xen/arch/arm/lib/memzero.S | 127 +++++++
xen/arch/arm/lib/setbit.S | 18 +
xen/arch/arm/lib/testchangebit.S | 18 +
xen/arch/arm/lib/testclearbit.S | 18 +
xen/arch/arm/lib/testsetbit.S | 18 +
xen/arch/arm/mm.c | 321 +++++++++++++++++
xen/arch...
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
...| 115 +++++
xen/arch/arm/lib/lib1funcs.S | 274 +++++++++++
xen/arch/arm/lib/memcpy.S | 64 +++
xen/arch/arm/lib/memmove.S | 200 ++++++++
xen/arch/arm/lib/memset.S | 129 +++++
xen/arch/arm/lib/memzero.S | 127 +++++
xen/arch/arm/lib/setbit.S | 18 +
xen/arch/arm/lib/testchangebit.S | 18 +
xen/arch/arm/lib/testclearbit.S | 18 +
xen/arch/arm/lib/testsetbit.S | 18 +
xen/arch/arm/mm.c...
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned