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]
Message-ID: <7c86c4470805070724v793fbdcamf18579308a183a9d@mail.gmail.com>
Date:	Wed, 7 May 2008 16:24:49 +0200
From:	"stephane eranian" <eranian@...glemail.com>
To:	"Andi Kleen" <andi@...stfloor.org>
Cc:	linux-kernel@...r.kernel.org,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"Ingo Molnar" <mingo@...e.hu>, tglx@...utronix.de
Subject: Re: [PATCH] perfmon: add context switch hooks for x86

Andi,

It would be much bigger because it would pull in a bunch of generic
and model-specific
data structures and code.

To context switch, you need to know what the registers are, thus you
need the PMU
mapping table, which is implemented by a kernel module, so it needs
its registration
framework....


On Wed, May 7, 2008 at 4:17 PM, Andi Kleen <andi@...stfloor.org> wrote:
> stephane eranian wrote:
>  > Hello,
>  >
>  >
>  > Here is a first perfmon patch. It provides the following:
>  >
>  >    - minimal perfmon source tree layout with a topdir perfmon for
>  > generic code and
>  >      the x86 arch specific subdir in arch/x86.
>
>  How much larger would a patch be that does at least something minimally
>  useful? (like context switching the performance registers)
>
>  -Andi
>
--
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