Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965646AbcLVMgA (ORCPT ); Thu, 22 Dec 2016 07:36:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35962 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765892AbcLVMf4 (ORCPT ); Thu, 22 Dec 2016 07:35:56 -0500 Subject: Re: [PATCH 1/2] jump_labels: API for flushing deferred jump label updates To: Peter Zijlstra , David Matlack References: <1481927436-104568-1-git-send-email-dmatlack@google.com> <20161219145819.GJ3107@twins.programming.kicks-ass.net> Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, rkrcmar@redhat.com, haokexin@gmail.com, mpe@ellerman.id.au, yongjun_wei@trendmicro.com.cn, rusty@rustcorp.com.au, jbaron@akamai.com From: Paolo Bonzini Message-ID: <87346b81-1905-4775-f745-388870fa2c96@redhat.com> Date: Thu, 22 Dec 2016 13:35:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161219145819.GJ3107@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 22 Dec 2016 12:35:55 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 652 Lines: 22 On 19/12/2016 15:58, Peter Zijlstra wrote: > 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) Thanks, I'll merge these through the KVM tree. Paolo