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:	Tue, 5 Oct 2010 20:30:26 +0200
From:	Hans Rosenfeld <hans.rosenfeld@....com>
To:	<linux-kernel@...r.kernel.org>
CC:	Hans Rosenfeld <hans.rosenfeld@....com>
Subject: [RFC 0/3] Basic support for LWP

LWP (Light-Weight Profiling) is a new profiling mechanism that allows
user mode processes to gather performance data about themselves with
very low overhead. The specification can be found here:
        http://developer.amd.com/cpu/LWP/Pages/default.aspx

These patches are against tip/master 531548b311024e1bec01bc412f5258e243a796b7.

This code adds basic support for LWP to the context switch code, which
is the minimum needed to use LWP. Support for other LWP features like
interrupts will be added later.


Hans Rosenfeld (3):
  Cleanup xsave/xrstor support.
  Allow saving of individual states in fpu_xsave().
  Save/restore LWP state in context switches.

 arch/x86/include/asm/i387.h       |   20 +++------
 arch/x86/include/asm/lwp.h        |   68 ++++++++++++++++++++++++++++
 arch/x86/include/asm/msr-index.h  |    1 +
 arch/x86/include/asm/processor.h  |   12 +++++
 arch/x86/include/asm/sigcontext.h |   12 +++++
 arch/x86/include/asm/xsave.h      |   90 +++++++++++++++---------------------
 arch/x86/kernel/process_32.c      |   13 +++++
 arch/x86/kernel/process_64.c      |   13 +++++
 arch/x86/kernel/traps.c           |    2 +-
 arch/x86/kernel/xsave.c           |    6 +-
 10 files changed, 167 insertions(+), 70 deletions(-)
 create mode 100644 arch/x86/include/asm/lwp.h


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