Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755450AbbG0C1Z (ORCPT ); Sun, 26 Jul 2015 22:27:25 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36311 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755269AbbG0C1X (ORCPT ); Sun, 26 Jul 2015 22:27:23 -0400 Date: Mon, 27 Jul 2015 07:57:18 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Linux PM list , Linux Kernel Mailing List , Russell King Subject: Re: [PATCH v2] cpufreq: Avoid attempts to create duplicate symbolic links Message-ID: <20150727022718.GE19944@linux> References: <1660815.CyKx9SEI9c@vostro.rjw.lan> <20150724140943.GC16336@linux> <1509688.KKhdi8M36y@vostro.rjw.lan> <11080992.c5Q5Du7n5n@vostro.rjw.lan> <20150725130002.GC1691@linux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 22 On 26-07-15, 00:46, Rafael J. Wysocki wrote: > OK, I'll prepare a new version of that patch then, but as I said this > choice means that we'll be creating the links to the policy at the > policy creation time going forward. Atleast for the rc fix, we should do exactly this. Right. But we can rethink about getting both my earlier patches merged for 4.3, which did this: - Keep adding CPUs to a global mask, which didn't had a existing policy and were offline when subsys-callback for called for them. - And then create the links only when the subsys callback is called for CPUs, for which policy already exist, as Russell suggested. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/