[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4981311D.9080205@goop.org>
Date: Wed, 28 Jan 2009 20:31:25 -0800
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Simon Horman <horms@...ge.net.au>
CC: Ingo Molnar <mingo@...e.hu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Stable Kernel <stable@...nel.org>,
"dan.magenheimer@...cle.com" <dan.magenheimer@...cle.com>
Subject: Re: [PATCH] xen: make sysfs files behave as their names suggest
Simon Horman wrote:
> 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?
>
Well, in theory, but not in practice I think.
It changes the behaviour of target_kb from accepting bytes into
kilobytes, and it no longer parses a k/m/g suffix. The old behaviour
was a definite bug, given the name of the file, so I consider this to be
pure bugfix. The kernel introducing this interface has only been out
for a week or two, so I don't think there's much chance anyone has
started relying on the buggy behaviour.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists