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: <20101005182739.GE173@escobedo.osrc.amd.com>
Date:	Tue, 5 Oct 2010 20:27:39 +0200
From:	Hans Rosenfeld <hans.rosenfeld@....com>
To:	Thomas Gleixner <tglx@...utronix.de>
CC:	"Richter, Robert" <robert.richter@....com>,
	LKML <linux-kernel@...r.kernel.org>,
	"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...e.hu>,
	"Herrmann3, Andreas" <Andreas.Herrmann3@....com>,
	Peter Zijlstra <peterz@...radead.org>
Subject: Re: [RFC 0/3] Basic support for LWP

On Tue, Oct 05, 2010 at 11:34:11AM -0400, Thomas Gleixner wrote:
> So it's the end result. Ok, then explain the following sentence:
>  
> > > > 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.
> 
> If your patch _IS_ the end result then there are no other LWP
> features, right ?

Ok, you got me there. I should have checked again before I wrote this.

There is at one other optional feature. Thats the support for a
thresholding interrupt, which the OS should relay to the user process
in one way or another.

But thats not required to use LWP instructions. Maybe Robert will add
it to perf some day, or maybe not. It is completely optional, and how
it is implemented at some point in the future is completely irrelevant
to the basic support of LWP.

> If there are, then your patch is _NOT_ the end result and we really
> want to know what is coming.

As far as I am concerned, it _is_ the end result. It implements the
necessary changes to make LWP usable, and that's it.

Whatever support for optional features Robert or anybody else may be
going to implement or not affects in no way the necessity of managing
the LWP state for user processes. Those are two completely unrelated
issues.

Now, since this was obviously not made clear enough before:

  Don't merge this code anywhere yet. This is an RFC and nothing else.
  It implements a basic change necessary to support a new instruction
  set, which just so happens to be a profiling mechanism, too. Please
  review the code and flame me for anything that you don't like in it.
  

Hans



PS: The patches were not delivered to LKML previously, so I'll resend
them.

-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

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