This is a janitorish patch to 1) remove private TRUE/FALSE #def's in
favor of using the standard enum from linux/stddef.h and 2) switch the
variables holding those values to type 'bool' (from linux/types.h)
since it both seems more appropriate and allows for potentially better
optimization.
As a
(Resending and copying the x86 maintainers since I'm not sure that
Richard Gooch is still actively the mtrr maintainer. Also incorporated
feedback from Richard Knutsson and Lennart Sorensen.)
This is a janitorish patch to 1) remove private TRUE/FALSE #def's in
favor of using the standard enum fr
Paul Jimenez wrote:
On Wednesday, Oct 31, 2007, Richard Knutsson writes:
if (likely(replace < 0))
usage_table[i] = 1;
else {
- usage_table[i] = usage_table[replace] + !!increment;
+ usage_table
Lennart Sorensen wrote:
On Wed, Oct 31, 2007 at 04:27:31PM +0100, Richard Knutsson wrote:
Paul Jimenez wrote:
- usage_table[i] = usage_table[replace] + !!increment;
+ usage_table[i] = usage_table[replace] + increment;
This se
On Wednesday, Oct 31, 2007, Richard Knutsson writes:
>> if (likely(replace < 0))
>> usage_table[i] = 1;
>> else {
>> -usage_table[i] = usage_table[replace] + !!increment;
>> +usage_table[i] = usage_table[replace]
On Wed, Oct 31, 2007 at 04:27:31PM +0100, Richard Knutsson wrote:
> Paul Jimenez wrote:
> >-usage_table[i] = usage_table[replace] + !!increment;
> >+usage_table[i] = usage_table[replace] + increment;
> >
> This seems a bit strange, using a boolean as a
Paul Jimenez wrote:
This is a janitorish patch to 1) remove private TRUE/FALSE #def's in
favor of using the standard enum from linux/stddef.h and 2) switch the
variables holding those values to type 'bool' (from linux/types.h)
since it both seems more appropriate and allows for potentially better
This is a janitorish patch to 1) remove private TRUE/FALSE #def's in
favor of using the standard enum from linux/stddef.h and 2) switch the
variables holding those values to type 'bool' (from linux/types.h)
since it both seems more appropriate and allows for potentially better
optimization.
As a
8 matches
Mail list logo