From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754706Ab1LMMyL (ORCPT ); Tue, 13 Dec 2011 07:54:11 -0500 Received: from merlin.infradead.org ([205.233.59.134]:54236 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752907Ab1LMMyH convert rfc822-to-8bit (ORCPT ); Tue, 13 Dec 2011 07:54:07 -0500 Message-ID: <1323780794.9082.16.camel@twins> Subject: Re: [PATCH tip] sched/trivial: Remove cfs bandwidth period check in tg_set_cfs_period() From: Peter Zijlstra To: Paul Turner Cc: Kamalesh Babulal , linux-kernel@vger.kernel.org, Ingo Molnar Date: Tue, 13 Dec 2011 13:53:14 +0100 In-Reply-To: References: <20111210135925.GA14593@linux.vnet.ibm.com> <1323695116.13285.14.camel@twins> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-12-13 at 04:40 -0800, Paul Turner wrote: > > It's OK though since period is always strictly unsigned so any -ve > becomes larger than the max allowed period and it spits out -EINVAL as > appropriate. > > So Kamelesh's patch above is good as is. > > Acked-by: Paul Turner Right you are, thanks!