* + mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch added to -mm tree
@ 2020-11-04 1:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-11-04 1:46 UTC (permalink / raw)
To: mm-commits, rcampbell, jhubbard, song.bao.hua
The patch titled
Subject: mm/gup_test.c: mark gup_test_init as __init function
has been added to the -mm tree. Its filename is
mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Barry Song <song.bao.hua@hisilicon.com>
Subject: mm/gup_test.c: mark gup_test_init as __init function
gup_test_init() is only called during initialization, mark it as __init to
save some memory.
Link: https://lkml.kernel.org/r/20201103081016.16532-1-song.bao.hua@hisilicon.com
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/gup_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/gup_test.c~mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function
+++ a/mm/gup_test.c
@@ -236,7 +236,7 @@ static const struct file_operations gup_
.unlocked_ioctl = gup_test_ioctl,
};
-static int gup_test_init(void)
+static int __init gup_test_init(void)
{
debugfs_create_file_unsafe("gup_test", 0600, NULL, NULL,
&gup_test_fops);
_
Patches currently in -mm which might be from song.bao.hua@hisilicon.com are
mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-04 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 1:46 + mm-gup_benchmark-mark-gup_benchmark_init-as-__init-function.patch added to -mm tree akpm
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.