From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753357AbaI3SVO (ORCPT ); Tue, 30 Sep 2014 14:21:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18524 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752117AbaI3SVM (ORCPT ); Tue, 30 Sep 2014 14:21:12 -0400 Date: Tue, 30 Sep 2014 14:20:59 -0400 From: Dave Jones To: Linus Torvalds Cc: Al Viro , Linux Kernel , Rik van Riel , Ingo Molnar , Michel Lespinasse Subject: Re: pipe/page fault oddness. Message-ID: <20140930182059.GA24431@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Al Viro , Linux Kernel , Rik van Riel , Ingo Molnar , Michel Lespinasse References: <20140930033327.GA14558@redhat.com> <20140930043309.GA16196@redhat.com> <20140930160510.GA15903@redhat.com> <20140930162201.GC15903@redhat.com> <20140930164047.GA18354@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 30, 2014 at 09:46:45AM -0700, Linus Torvalds wrote: > On Tue, Sep 30, 2014 at 9:40 AM, Dave Jones wrote: > > > > ah, echo 0 > tracing_on isn't enough, I had to 0 out set_ftrace_pid too. > > Never mind. Subsequent traces all looking the same, minus the tracing > > junk though. > > Yeah, looks like that copy_page_to_iter+0x3b3 is always there. > > > Is there some way I can figure out what address it's faulting on ? > > I wonder if that might give some clues. > > Could be useful. There's a trace_page_fault_kernel() entry that should > give it to you, along with error code. Hm. page_fault_kernel: address=__per_cpu_end ip=copy_page_to_iter error_code=0x2 over and over.. Dave