Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264776 > unrolled thread

Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

Started byPaolo Bonzini <pbonzini@redhat.com>
First post2015-11-07 10:40 +0100
Last post2015-11-07 10:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/3] context_tracking: remove duplicate enabled check Paolo Bonzini <pbonzini@redhat.com> - 2015-11-07 10:40 +0100

#1264776 — Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

FromPaolo Bonzini <pbonzini@redhat.com>
Date2015-11-07 10:40 +0100
SubjectRe: [PATCH 1/3] context_tracking: remove duplicate enabled check
Message-ID<qs88y-tB-13@gated-at.bofh.it>

On 28/10/2015 06:19, Andy Lutomirski wrote:
> On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> All calls to context_tracking_enter and context_tracking_exit
>> are already checking context_tracking_is_enabled, except the
>> context_tracking_user_enter and context_tracking_user_exit
>> functions left in for the benefit of assembly calls.
>>
>> Pull the check up to those functions, by making them simple
>> wrappers around the user_enter and user_exit inline functions.
> 
> This makes my brain hurt.  Assuming that this survives a boot with
> CONFIG_CONTEXT_TRACKING_FORCE=y and CONFIG_PROVE_LOCKING=y (with the
> implied CONFIG_PROVE_RCU), then:
> 
> Acked-by: Andy Lutomirski <luto@kernel.org>

Tested now.

Paolo
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web