Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753869AbbEKL40 (ORCPT ); Mon, 11 May 2015 07:56:26 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33772 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919AbbEKL4Y (ORCPT ); Mon, 11 May 2015 07:56:24 -0400 Date: Mon, 11 May 2015 20:56:02 +0900 From: Sergey Senozhatsky To: Karel Zak Cc: Sergey Senozhatsky , Minchan Kim , Sergey Senozhatsky , linux-kernel@vger.kernel.org, util-linux@vger.kernel.org Subject: Re: what's cooking in zram for 4.1 Message-ID: <20150511115602.GA483@swordfish> References: <20150509042148.GA514@swordfish> <20150511113833.GO27969@ws.net.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150511113833.GO27969@ws.net.home> 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 Content-Length: 726 Lines: 24 On (05/11/15 13:38), Karel Zak wrote: > hmm... frankly, the reason why I love /sys and why hate /proc is > value-per-file. You do not need special parsers to read from /sys > (usually). > > > orig_data_size > > compr_data_size > > mem_used_total > > mem_limit > > mem_used_max > > zero_pages > > num_migrated > > Why do you need all in one file? ... to provide consistent statistics? > yes, that's the main reason. -ss -- 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/