From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755289Ab2BWJ4h (ORCPT ); Thu, 23 Feb 2012 04:56:37 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:40053 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754079Ab2BWJ4f (ORCPT ); Thu, 23 Feb 2012 04:56:35 -0500 Date: Thu, 23 Feb 2012 01:57:26 -0800 From: Andrew Morton To: Jan Engelhardt Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 1/2] treewide: fix memory corruptions when TASK_COMM_LEN != 16 Message-Id: <20120223015726.cb065d73.akpm@linux-foundation.org> In-Reply-To: References: <1327183785-27023-1-git-send-email-jengelh@medozas.de> <20120124135443.2772d455.akpm@linux-foundation.org> <20120131172334.7f26f164.akpm@linux-foundation.org> <20120131174914.8ce5291d.akpm@linux-foundation.org> <20120131190109.b53347fd.akpm@linux-foundation.org> <20120222125810.50cd5789.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; 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 Thu, 23 Feb 2012 10:09:33 +0100 (CET) Jan Engelhardt wrote: > On Wednesday 2012-02-22 21:58, Andrew Morton wrote: > > >On Wed, 22 Feb 2012 13:48:08 +0100 (CET) > >Jan Engelhardt wrote: > > > >> task: provide a larger task command buffer > > > > > > > >Why are we bothering ourselves about this? > > Some prefer to know what's going on in the system. Every other or > so kernel release there are some new happy kthreads, such as > > 24930 ? S 0:00 \_ [btrfs-endio-1] > 24931 ? S 0:00 \_ [btrfs-endio-met] > 24932 ? S 0:00 \_ [btrfs-endio-met] > 24933 ? S 0:00 \_ [btrfs-endio-wri] > 24934 ? S 0:00 \_ [btrfs-freespace] > > at which point one is curious to find out the rest of the met and why > there are two of them. If expanded one actually sees they are different > kthreads (rather than just per-cpu instances for a WQ, for example) > > $ grep Name /proc/{29431,29432}/stat* > /proc/29431/status:Name: btrfs-endio-meta-1 > /proc/29432/status:Name: btrfs-endio-meta-write-1 > > That's all. doh. The fix for that is to have less clueless btrfs developers.