Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761726AbcLSO6x (ORCPT ); Mon, 19 Dec 2016 09:58:53 -0500 Received: from merlin.infradead.org ([205.233.59.134]:54288 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759329AbcLSO62 (ORCPT ); Mon, 19 Dec 2016 09:58:28 -0500 Date: Mon, 19 Dec 2016 15:58:19 +0100 From: Peter Zijlstra To: David Matlack Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, rkrcmar@redhat.com, haokexin@gmail.com, mpe@ellerman.id.au, yongjun_wei@trendmicro.com.cn, rusty@rustcorp.com.au, jbaron@akamai.com Subject: Re: [PATCH 1/2] jump_labels: API for flushing deferred jump label updates Message-ID: <20161219145819.GJ3107@twins.programming.kicks-ass.net> References: <1481927436-104568-1-git-send-email-dmatlack@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481927436-104568-1-git-send-email-dmatlack@google.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 526 Lines: 15 On Fri, Dec 16, 2016 at 02:30:35PM -0800, David Matlack wrote: > Modules that use static_key_deferred need a way to synchronize with > any delayed work that is still pending when the module is unloaded. > Introduce static_key_deferred_flush() which flushes any pending > jump label updates. Makes sense I suppose. It also appears I forgot to provide new style APIs for this functionality as I completely forgot about it for it lives in its own file :-/ In any case, Acked-by: Peter Zijlstra (Intel)