lkml.org 
[lkml]   [2006]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
    On 10/2/06, Andrew Morton <akpm@osdl.org> wrote:
    > On Mon, 02 Oct 2006 17:21:09 +0100
    > David Howells <dhowells@redhat.com> wrote:
    >
    > > Maintain a per-CPU global "struct pt_regs *" variable which can be used instead
    > > of passing regs around manually through all ~1800 interrupt handlers in the
    > > Linux kernel.
    > >

    Nice! I was wanting to do that for a long time...

    >
    > I think the change is good. But I don't want to maintain this whopper
    > out-of-tree for two months! If we want to do this, we should just smash it
    > in and grit our teeth.

    Yes, lets drop it in while we still not reached rc1.

    >
    > > Some notes on the interrupt handling in the drivers:
    > >
    > > (*) input_dev() is now gone entirely. The regs pointer is no longer stored in
    > > the input_dev struct.

    Good riddance... Athough I would not remove input_regs() just yet but
    just redefine it to an empty inline and mark it as depreciated so we
    won't break all out-of-tree input drivers right away. Removal of
    input_regs() from in-tree drivers could be done by separate patch as
    well, once main changes are in.

    --
    Dmitry
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-10-02 22:47    [W:4.071 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site