From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbZA2Cfc (ORCPT ); Wed, 28 Jan 2009 21:35:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751569AbZA2CfY (ORCPT ); Wed, 28 Jan 2009 21:35:24 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:36254 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751433AbZA2CfX (ORCPT ); Wed, 28 Jan 2009 21:35:23 -0500 Date: Thu, 29 Jan 2009 11:35:18 +0900 From: Simon Horman To: Jeremy Fitzhardinge Cc: Ingo Molnar , Linux Kernel Mailing List , Stable Kernel , "dan.magenheimer@oracle.com" Subject: Re: [PATCH] xen: make sysfs files behave as their names suggest Message-ID: <20090129023516.GB1319@verge.net.au> References: <4980FD4C.3030700@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4980FD4C.3030700@goop.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 28, 2009 at 04:50:20PM -0800, Jeremy Fitzhardinge wrote: > 1: make "target_kb" only accept and produce a memory size in kilobytes. > 2: add a second "target" file which produces output in bytes, and will accept > memparse input (scaled bytes) > > This fixes the rather irritating problem that writing the same value > read back into target_kb would end up shrinking the domain by a factor > of 1024, with generally bad results. Are there any compatibility issues that we should care about related to this change? -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en