[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hwsil829g.wl%tiwai@suse.de>
Date: Wed, 13 Aug 2008 15:37:15 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Tree for August 13
At Wed, 13 Aug 2008 14:08:11 +0100,
Alan Cox wrote:
>
> > When re-starting X, it complains that it cannot change to VT7.
> > Via strace,
>
> Does this fix it
>
> @@ -838,6 +839,7 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
> void __cleanup_signal(struct signal_struct *sig)
> {
> exit_thread_group_keys(sig);
> + tty_kref_put(sig->tty);
> kmem_cache_free(signal_cachep, sig);
> }
Thanks, will give it a try.
The above can't be applied as is to next tree, so the following is
applied instead.
Takashi
---
diff --git a/kernel/fork.c b/kernel/fork.c
index 600a264..2353660 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -834,6 +834,7 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk)
void __cleanup_signal(struct signal_struct *sig)
{
+ tty_kref_put(sig->tty);
kmem_cache_free(signal_cachep, sig);
}
--
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