All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 1/4] xen/tmem: Drop unnecessary noinline attribute
Date: Thu, 5 Oct 2017 08:47:26 -0400	[thread overview]
Message-ID: <20171005124726.GC24547@char.us.oracle.com> (raw)
In-Reply-To: <1507054073-4776-2-git-send-email-andrew.cooper3@citrix.com>

On Tue, Oct 03, 2017 at 07:07:50PM +0100, Andrew Cooper wrote:
> tmem_mempool_page_get() is only referenced by address, so isn't eligable for
> inlining in the first place.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

> 
> Not related to the rest of the series, but I stumbled across it while
> resolving another noinline issue.
> ---
>  xen/common/tmem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/common/tmem.c b/xen/common/tmem.c
> index c955cf7..324f42a 100644
> --- a/xen/common/tmem.c
> +++ b/xen/common/tmem.c
> @@ -200,7 +200,7 @@ static void tmem_free_page(struct tmem_pool *pool, struct page_info *pfp)
>      atomic_dec_and_assert(global_page_count);
>  }
>  
> -static noinline void *tmem_mempool_page_get(unsigned long size)
> +static void *tmem_mempool_page_get(unsigned long size)
>  {
>      struct page_info *pi;
>  
> -- 
> 2.1.4
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-10-05 12:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-03 18:07 [PATCH For 4.10 0/4] Add support for using the Undefined Behaviour Sanitiser Andrew Cooper
2017-10-03 18:07 ` [PATCH 1/4] xen/tmem: Drop unnecessary noinline attribute Andrew Cooper
2017-10-05 12:47   ` Konrad Rzeszutek Wilk [this message]
2017-10-03 18:07 ` [PATCH 2/4] xen/ubsan: Import ubsan implementation from Linux 4.13 Andrew Cooper
2017-10-03 18:07 ` [PATCH 3/4] xen/ubsan: Implement __ubsan_handle_nonnull_arg() Andrew Cooper
2017-10-04 11:56   ` Jan Beulich
2017-10-03 18:07 ` [PATCH 4/4] xen/ubsan: Introduce and use CONFIG_UBSAN Andrew Cooper
2017-10-04  9:42   ` Wei Liu
2017-10-04 10:11   ` Andrew Cooper
2017-10-04 12:03   ` Jan Beulich
2017-10-04 13:28     ` Andrew Cooper
2017-10-04 16:07       ` Jan Beulich
2017-10-05 12:49   ` Konrad Rzeszutek Wilk
2017-10-05 14:11     ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171005124726.GC24547@char.us.oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.