From: Kevin Hilman Subject: Re: [RFC 2/4] timer: don't migrate pinned timers Date: Fri, 04 Apr 2014 08:15:19 -0700 Message-ID: <7h8urlyvlk.fsf@paris.lan> References: <3fa0ea3a19a51ae2797a25e281763451ad8d2844.1395322529.git.viresh.kumar@linaro.org> <7htxae5plh.fsf@paris.lan> Mime-Version: 1.0 Return-path: In-Reply-To: (Viresh Kumar's message of "Tue, 1 Apr 2014 10:02:43 +0530") Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Viresh Kumar Cc: Thomas Gleixner , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , Peter Zijlstra , Ingo Molnar , Tejun Heo , Li Zefan , Lists linaro-kernel , Linux Kernel Mailing List , Cgroups Viresh Kumar writes: > On 31 March 2014 21:26, Kevin Hilman wrote: >> Viresh Kumar writes: >>> + if (is_pinned) { >>> + pr_warn("%s: can't migrate pinned timer: %p, removing it\n", >>> + __func__, timer); >> >> printk message will be confusing: removing it from what? > > Hmm.. So, I am looking to do two modifications here. Just need inputs > if that would be the right thing to do: > > - do a WARN() here as these timers should have been already removed > - change print to: "can't migrate pinned timer %p, deactivating timer" > > Looks fine? Yes.