From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753537AbcHTIAX (ORCPT ); Sat, 20 Aug 2016 04:00:23 -0400 Received: from smtprelay0068.hostedemail.com ([216.40.44.68]:33333 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751350AbcHTIAW (ORCPT ); Sat, 20 Aug 2016 04:00:22 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:69:355:379:541:988:989:1260:1345:1359:1437:1534:1538:1566:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3866:3872:4605:5007:6261:10004:10848:11026:11658:11914:12043:12291:12296:12438:12517:12519:12555:12679:12683:13069:13311:13357:14110:14384:14394:14721:21080:21220:30054,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: beam36_2dd7799b6349 X-Filterd-Recvd-Size: 1276 From: Joe Perches To: Michal Hocko , linux-fsdevel@vger.kernel.org Cc: Andrew Morton , Jann Horn , linux-mm@kvack.org, Alexander Viro , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] seq: Speed up /proc//smaps Date: Sat, 20 Aug 2016 01:00:15 -0700 Message-Id: X-Mailer: git-send-email 2.8.0.rc4.16.g56331f8 In-Reply-To: <20160820072927.GA23645@dhcp22.suse.cz> References: <20160820072927.GA23645@dhcp22.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Doing a simple cat of these files can take a lot more cpu than it should. Optimize it a bit. Joe Perches (2): seq_file: Add __seq_open_private_bufsize for seq file_operation sizes proc: task_mmu: Reduce output processing cpu time fs/proc/task_mmu.c | 94 ++++++++++++++++++++++++------------------------ fs/seq_file.c | 31 ++++++++++++++++ include/linux/seq_file.h | 3 ++ 3 files changed, 82 insertions(+), 46 deletions(-) -- 2.8.0.rc4.16.g56331f8