From: David Rientjes <rientjes@google.com>
To: Jeremy Eder <jeder@redhat.com>
Cc: linux-mm@kvack.org, akpm@linux-foundation.org
Subject: Re: [PATCH] mm: clean up hugepage sysfs error messages
Date: Tue, 18 Dec 2012 17:37:40 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.00.1212181736530.3932@chino.kir.corp.google.com> (raw)
In-Reply-To: <1355880187-26709-1-git-send-email-jeder@redhat.com>
On Tue, 18 Dec 2012, Jeremy Eder wrote:
> This patch corrects a few typos in the hugepage sysfs init code.
Please sign off your patch.
> ---
> mm/huge_memory.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/mm/huge_memory.c b/mm/huge_memory.c
> index 32754ee..0696fa4 100644
> --- a/mm/huge_memory.c
> +++ b/mm/huge_memory.c
> @@ -574,19 +574,19 @@ static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj)
>
> *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj);
> if (unlikely(!*hugepage_kobj)) {
> - printk(KERN_ERR "hugepage: failed kobject create\n");
> + printk(KERN_ERR "hugepage: failed to create kobject\n");
How do we know this is for thp and not hugetlbfs when it only appears in
the kernel log?
> return -ENOMEM;
> }
>
> err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group);
> if (err) {
> - printk(KERN_ERR "hugepage: failed register hugeage group\n");
> + printk(KERN_ERR "hugepage: failed to register hugepage group\n");
> goto delete_obj;
> }
>
> err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group);
> if (err) {
> - printk(KERN_ERR "hugepage: failed register hugeage group\n");
> + printk(KERN_ERR "hugepage: failed to register hugepage group\n");
> goto remove_hp_group;
> }
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-12-19 1:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 1:23 Jeremy Eder
2012-12-19 1:37 ` David Rientjes [this message]
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=alpine.DEB.2.00.1212181736530.3932@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=jeder@redhat.com \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox