From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756011AbZBEC5j (ORCPT ); Wed, 4 Feb 2009 21:57:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752584AbZBEC53 (ORCPT ); Wed, 4 Feb 2009 21:57:29 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55834 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbZBEC53 (ORCPT ); Wed, 4 Feb 2009 21:57:29 -0500 Date: Wed, 4 Feb 2009 18:56:45 -0800 From: Andrew Morton To: Alex Romosan , linux-kernel@vger.kernel.org, Takashi Iwai Subject: Re: 2.6.29-rc3: weird process after resume Message-Id: <20090204185645.bb9d86b2.akpm@linux-foundation.org> In-Reply-To: <20090204183142.11e6f661.akpm@linux-foundation.org> References: <878womf727.fsf@sycorax.lbl.gov> <20090204153954.844ac67b.akpm@linux-foundation.org> <87hc39ejx2.fsf@sycorax.lbl.gov> <20090204183142.11e6f661.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Feb 2009 18:31:42 -0800 Andrew Morton wrote: > On Wed, 04 Feb 2009 17:45:13 -0800 Alex Romosan wrote: > > > Andrew Morton writes: > > > > > On Wed, 04 Feb 2009 09:25:20 -0800 > > > Alex Romosan wrote: > > > > > >> this is on a thinkpad t61p with an intel core2 cpu. i just noticed > > >> that after resuming from suspending to memory i get a weirdly named > > >> process. i did a ps before and after and the only difference was that > > >> before i had this process: > > >> > > >> [hda0/1] > > >> > > >> and after this one: > > >> > > >> [__?__;??____D__"?______] > > >> > > >> with everything else being the same. the laptop seems to be working > > >> fine and the problem could have been there for a while but i just > > >> didn't notice it. i am including my .config file. let me know if you > > >> need anything else. > > > > > > Were earlier kernels OK? If so, which version? > > > > i just tried 2.6.28 and there was no [hda0] kernel thread. 2.6.29-rc1 > > and rc2 never resumed from suspend so i couldn't really try it. > > > > > What the heck is that kernel thread anyway? It looks like something > > > derived from an IDE device. > > > > i have no idea. hda is the cdrom (the disk is sata and shows up as > > sda). > > > > > > > > + snprintf(qname, sizeof(qname), "hda%d", card->number); > + bus->workq = create_workqueue(qname); > + if (!bus->workq) { > + snd_printk(KERN_ERR "cannot create workqueue %s\n", qname); > + kfree(bus); > + return -ENOMEM; > + } > > so it's not IDE after all. > > commit 6acaed38a32e8571e92cfc832b971f9e4450c207 > Author: Takashi Iwai > AuthorDate: Mon Jan 12 10:09:24 2009 +0100 > Commit: Takashi Iwai > CommitDate: Mon Jan 12 10:33:56 2009 +0100 > > ALSA: hda - Use own workqueue > btw. Please use create_singlethread_workqueue() if at all possible. I don't think we need a thread per CPU here.