Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623AbYCKFJ1 (ORCPT ); Tue, 11 Mar 2008 01:09:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752064AbYCKFJS (ORCPT ); Tue, 11 Mar 2008 01:09:18 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:60878 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbYCKFJS (ORCPT ); Tue, 11 Mar 2008 01:09:18 -0400 Date: Mon, 10 Mar 2008 22:06:38 -0700 From: Greg KH To: Daniel Phillips Cc: linux-kernel@vger.kernel.org Subject: Re: [ANNOUNCE] Ramback: faster than a speeding bullet Message-ID: <20080311050638.GA12498@kroah.com> References: <200803092346.17556.phillips@phunq.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803092346.17556.phillips@phunq.net> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 27 On Sun, Mar 09, 2008 at 10:46:16PM -0800, Daniel Phillips wrote: > Set ramback to flush mode: > > echo 1 >/proc/driver/ramback/ /proc is so 1990's. As your code has nothing to do with processes, please don't add new files in /proc/. sysfs is there for you to do stuff like this. > Show ramback status: > > cat /proc/driver/ramback/ > > Progress monitor: > > watch -n1 cat /proc/driver/ramback/ Use debugfs for stuff like debug info like this. thanks, greg k-h -- 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/