[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1505041030480.6658@vshiva-Udesk>
Date: Mon, 4 May 2015 10:31:23 -0700 (PDT)
From: Vikas Shivappa <vikas.shivappa@...el.com>
To: Peter Zijlstra <peterz@...radead.org>
cc: Vikas Shivappa <vikas.shivappa@...ux.intel.com>,
vikas.shivappa@...el.com, linux-kernel@...r.kernel.org,
x86@...nel.org, hpa@...or.com, tglx@...utronix.de,
mingo@...nel.org, tj@...nel.org, matt.fleming@...el.com,
will.auld@...el.com, peter.zijlstra@...el.com,
h.peter.anvin@...el.com, kanaka.d.juvva@...el.com
Subject: Re: [PATCH 2/7] x86/intel_rdt: Adds support for Class of service
management
On Sat, 2 May 2015, Peter Zijlstra wrote:
> On Fri, May 01, 2015 at 06:36:36PM -0700, Vikas Shivappa wrote:
>> +static inline bool cat_supported(struct cpuinfo_x86 *c)
>
> Is search and replace really that hard?
>
>> +/*
>> +* Called with the rdt_group_mutex held.
>> +*/
>
> Whitespace damaged and pointless comment.
>
>> +static int rdt_free_closid(struct intel_rdt *ir)
>> +{
>> +
>
> superfluous whitespace
>
>> + lockdep_assert_held(&rdt_group_mutex);
>> +
>> + WARN_ON(!ccmap[ir->clos].cgrp_count);
>> + ccmap[ir->clos].cgrp_count--;
>> + if (!ccmap[ir->clos].cgrp_count)
>> + clear_bit(ir->clos, rdtss_info.closmap);
>> +
>> + return 0;
>> +}
>
>
> These patches really are very sloppy..
Will resend the updated patch - most of the changes here are removed in next
patch.
Thanks,
Vikas
>
--
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