From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266590AbUHOL0U (ORCPT ); Sun, 15 Aug 2004 07:26:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266595AbUHOL0T (ORCPT ); Sun, 15 Aug 2004 07:26:19 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:22504 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S266590AbUHOL0S (ORCPT ); Sun, 15 Aug 2004 07:26:18 -0400 Date: Sun, 15 Aug 2004 12:26:17 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Gene Heskett Cc: linux-kernel@vger.kernel.org, Marcelo Tosatti , Linus Torvalds , Andrew Morton Subject: Re: Possible dcache BUG Message-ID: <20040815112617.GH12308@parcelfarce.linux.theplanet.co.uk> References: <200408150610.28139.gene.heskett@verizon.net> <20040815103743.GF12308@parcelfarce.linux.theplanet.co.uk> <200408150704.49312.gene.heskett@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408150704.49312.gene.heskett@verizon.net> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 15, 2004 at 07:04:49AM -0400, Gene Heskett wrote: > On Sunday 15 August 2004 06:37, viro@parcelfarce.linux.theplanet.co.uk > wrote: > >On Sun, Aug 15, 2004 at 06:10:28AM -0400, Gene Heskett wrote: > >> all in one line of text, its a bit hard to locate real duplicates. > >> But I think I see some right now! Can this line be modified to > >> spit them out, one entry per line with all dups sorted to be > >> adjacent? > > > >Sure, just add \n in format here. Sorry, hadn't noticed that... > > > >> >+ seq_printf(m, "%d:%d:%lu:%o\n", > > And here it is right after starting x on the reboot. (I take it the > first number is the number of dups?) Yes - uniq -c merges duplicates and puts the number of copies in front of line, so sort | uniq -c | sort -nr will sort by frequency and print each line with number of times it had occured. You don't have any duplicates so far and the output looks OK...