Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753018AbZJPQ6Q (ORCPT ); Fri, 16 Oct 2009 12:58:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751190AbZJPQ6P (ORCPT ); Fri, 16 Oct 2009 12:58:15 -0400 Received: from smtp2.ultrahosting.com ([74.213.174.253]:43757 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751062AbZJPQ6P (ORCPT ); Fri, 16 Oct 2009 12:58:15 -0400 Date: Fri, 16 Oct 2009 12:50:19 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: David Rientjes cc: Pekka Enberg , linux-kernel@vger.kernel.org Subject: Re: [patch] slub: allow stats to be cleared In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 442 Lines: 12 So writing to any file clears all counters? The documentation does not say so. Would it not be better to have an explicit sysfs file for clearing. The patch would be smaller and the api better. -- 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/