projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4919112
)
xen/tmem: Drop unnecessary noinline attribute
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 3 Oct 2017 18:07:50 +0000
(19:07 +0100)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 6 Oct 2017 12:36:43 +0000
(13:36 +0100)
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>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c
patch
|
blob
|
history
diff --git
a/xen/common/tmem.c
b/xen/common/tmem.c
index c955cf7167a5b2ad376a7225053da85e31ca465f..324f42a6f9e56cece3d9462dec48c55f65b7e6c7 100644
(file)
--- 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;