lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/5] KVM: MMU: audit: replace mmu audit tracepoint with jump-lable
    On 11/29/2011 05:56 AM, Xiao Guangrong wrote:
    > Subject: [PATCH v2 2/5] KVM: MMU: audit: replace mmu audit tracepoint with jump-lable
    >
    > The tracepoint is only used to audit mmu code, it should not be exposed to
    > user, let us replace it with jump-lable
    >
    >
    > static bool mmu_audit;
    > +static struct jump_label_key mmu_audit_key;
    > +
    > +#define kvm_mmu_audit(vcpu, point) \
    > + if (static_branch((&mmu_audit_key))) { \
    > + __kvm_mmu_audit(vcpu, point); \
    > + }
    >
    >


    static inline function, please, and as an incremental against next. I'll
    fold it to the parent patch.

    --
    error compiling committee.c: too many arguments to function



    \
     
     \ /
      Last update: 2011-11-29 11:05    [W:0.026 / U:1.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site