[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071220130042.GA28770@elte.hu>
Date: Thu, 20 Dec 2007 14:00:42 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Roland McGrath <roland@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH -mm 00/43] user_regset framework -- arch maintainers
take note!
* Roland McGrath <roland@...hat.com> wrote:
> This is a large series of patches, but there are only a couple that
> you need to read in detail to know how to get started on cleaning up
> your arch code (1, 4, 6).
>
> user_regset is a new kernel-internal interface into the arch code for
> accessing the user-space view of machine-specific state (registers et
> al--everything machine-specific that is visible via ptrace and the
> like, or should be). The idea is that arch code will have just one
> place it has to support fetching and changing the user-visible machine
> state of a user thread. This same interface can be used for writing
> core dumps, to underlie the implementation of PTRACE_GETREGS,
> PTRACE_SETREGS, and the like, and by any new set of debugging
> facilities that might come along.
[...]
> Patches 26 through 43 affect only arch/x86 code. I have not CC'd
> these ones to linux-arch. They include a bunch of cleanup that is
> specific to the idiosyncracies of the x86 code and isn't interesting
> as an example for what another arch would do.
thanks Roland - this is a really impressive set of cleanups
generalizations!
Testing feedback: i've put the x86 and core bits into x86.git and your
regset series has so far successfully passed a couple of hundred
iterations of random-qa on 32-bit and 64-bit x86 as well. (with a few
ptrace tests added to the mix as well) So it's all green as far as
arch/x86 and core goes :-)
Ingo
--
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