18 Jul, 2007

1 commit

  • Currently, the freezer treats all tasks as freezable, except for the kernel
    threads that explicitly set the PF_NOFREEZE flag for themselves. This
    approach is problematic, since it requires every kernel thread to either
    set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
    care for the freezing of tasks at all.

    It seems better to only require the kernel threads that want to or need to
    be frozen to use some freezer-related code and to remove any
    freezer-related code from the other (nonfreezable) kernel threads, which is
    done in this patch.

    The patch causes all kernel threads to be nonfreezable by default (ie. to
    have PF_NOFREEZE set by default) and introduces the set_freezable()
    function that should be called by the freezable kernel threads in order to
    unset PF_NOFREEZE. It also makes all of the currently freezable kernel
    threads call set_freezable(), so it shouldn't cause any (intentional)
    change of behaviour to appear. Additionally, it updates documentation to
    describe the freezing of tasks more accurately.

    [akpm@linux-foundation.org: build fixes]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Nigel Cunningham
    Cc: Pavel Machek
    Cc: Oleg Nesterov
    Cc: Gautham R Shenoy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

05 Jun, 2007

1 commit


04 Jun, 2007

1 commit


23 May, 2007

2 commits


09 May, 2007

1 commit


08 Dec, 2006

1 commit


30 Sep, 2006

1 commit


01 Jul, 2006

1 commit


09 Jan, 2006

1 commit


13 Dec, 2005

1 commit

  • The bd622663192e8ebebb27dc1d9397f352a82d2495 commit broke the UCB1x00
    touchscreen driver since the idev structure was assumed to be into the ts
    structure, simply casting the former to the later in a couple places.

    This patch fixes those, and also cache the idev pointer between multiple
    calls to input_report_abs() to avoid growing the compiled code needlessly.

    Signed-off-by: Nicolas Pitre
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nicolas Pitre
     

31 Oct, 2005

1 commit


29 Oct, 2005

1 commit


24 Sep, 2005

1 commit


11 Sep, 2005

2 commits