Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755350Ab1CGSCs (ORCPT ); Mon, 7 Mar 2011 13:02:48 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:51367 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752526Ab1CGSCq (ORCPT ); Mon, 7 Mar 2011 13:02:46 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TbaTJlL1MwMgvn013hbFf0KWCuJlX6uUJ0oo6I3o/5VG16f31Ch/0peXck0QgsnbNy ZMT5nNpS+8Msq84O8+1pwVC6dFHUhVvlP0ROJkfRaYx+eHzKTtmBcFld/wiyoZrf8bmf Jvxl6f34J19u0xMwGE4ZX39rjEcPEh5FTqo/U= MIME-Version: 1.0 In-Reply-To: <1292865120-24020-1-git-send-email-felipe.contreras@nokia.com> References: <1292865120-24020-1-git-send-email-felipe.contreras@nokia.com> Date: Mon, 7 Mar 2011 20:02:44 +0200 Message-ID: Subject: Re: [PATCH] staging: tidspbridge: protect dmm_map properly From: Felipe Contreras To: Felipe Contreras Cc: linux-main , linux-omap , Greg KH , Omar Ramirez Luna , Ohad Ben-Cohen , Fernando Guzman Lugo , Nishanth Menon , Ameya Palande Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 20 On Mon, Dec 20, 2010 at 7:12 PM, Felipe Contreras wrote: > We need to protect not only the dmm_map list, but the individual > map_obj's, otherwise, we might be building the scatter-gather list with > garbage. So, use the existing proc_lock for that. > > I observed race conditions which caused kernel panics while running > stress tests. This patch fixes those. I just heard that Tuomas Kulve is getting a lot of panics on Gumstix Overo. I propose we apply this patch on the stable tree ASAP, and if there's no better proposals, also on .38. -- Felipe Contreras -- 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/