Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626Ab1CKRjB (ORCPT ); Fri, 11 Mar 2011 12:39:01 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:37485 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284Ab1CKRi6 (ORCPT ); Fri, 11 Mar 2011 12:38:58 -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=GJmqgZC6VAr2skzXfLCSqomrqcsucpasAgnSB/08orYzN6cBp/PvB6wnPSNB6cTja9 6M768r9CSvMVR8QsGFyilGdhn8JOefZ+00mx0qI8lmobEZcUlkevX4jCbwlYN+juXj72 2cFTigpg+OCHkc7MLuMNUYUfLXFsQG2HUFvYs= MIME-Version: 1.0 In-Reply-To: <1299864633-27542-1-git-send-email-felipe.contreras@nokia.com> References: <1299864633-27542-1-git-send-email-felipe.contreras@nokia.com> Date: Fri, 11 Mar 2011 19:38:57 +0200 Message-ID: Subject: Re: [RESEND PATCH] staging: tidspbridge: protect dmm_map properly From: Felipe Contreras To: Felipe Contreras Cc: linux-main , linux-omap , Omar Ramirez Luna , Greg KH , Ohad Ben-Cohen , Fernando Guzman Lugo , Tuomas Kulve 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: 949 Lines: 25 On Fri, Mar 11, 2011 at 7:30 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, also, Tuomas Kulve found it happening quite often in > Gumstix Over. This patch fixes those. > > Cc: Tuomas Kulve > Signed-off-by: Felipe Contreras Omar, 2.6.38 is imminent, if this patch has any chance of getting in, I think you would need to push it soon. Cheers. -- 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/