From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: linux-mm <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drivers/base: Use attribute groups to create sysfs memory files
Date: Tue, 21 May 2013 09:33:12 -0700 [thread overview]
Message-ID: <20130521163312.GA27705@kroah.com> (raw)
In-Reply-To: <518A78CC.2000501@linux.vnet.ibm.com>
On Wed, May 08, 2013 at 11:09:48AM -0500, Nathan Fontenot wrote:
> Update the sysfs memory code to create/delete files at the time of device
> and subsystem registration.
>
> The current code creates files in the root memory directory explicitly through
> the use of init_* routines. The files for each memory block are created and
> deleted explicitly using the mem_[create|delete]_simple_file macros.
>
> This patch creates attribute groups for the memory root files and files in
> each memory block directory so that they are created and deleted implicitly
> at subsys and device register and unregister time.
>
> This did necessitate moving the register_memory() and unregister_memory()
> routines in the file. There are no changes to unregister_memory, the
> register_memory routine is only updated to set the dev.groups field.
>
> Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
>
> Please cc me on responses/comments.
> ---
> drivers/base/memory.c | 163 ++++++++++++++++++++++----------------------------
> 1 file changed, 72 insertions(+), 91 deletions(-)
This doesn't seem to apply to 3.10-rc2, can you refresh it and resend it
so that I can apply it?
thanks,
greg k-h
--
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>
WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: linux-mm <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drivers/base: Use attribute groups to create sysfs memory files
Date: Tue, 21 May 2013 09:33:12 -0700 [thread overview]
Message-ID: <20130521163312.GA27705@kroah.com> (raw)
In-Reply-To: <518A78CC.2000501@linux.vnet.ibm.com>
On Wed, May 08, 2013 at 11:09:48AM -0500, Nathan Fontenot wrote:
> Update the sysfs memory code to create/delete files at the time of device
> and subsystem registration.
>
> The current code creates files in the root memory directory explicitly through
> the use of init_* routines. The files for each memory block are created and
> deleted explicitly using the mem_[create|delete]_simple_file macros.
>
> This patch creates attribute groups for the memory root files and files in
> each memory block directory so that they are created and deleted implicitly
> at subsys and device register and unregister time.
>
> This did necessitate moving the register_memory() and unregister_memory()
> routines in the file. There are no changes to unregister_memory, the
> register_memory routine is only updated to set the dev.groups field.
>
> Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
>
> Please cc me on responses/comments.
> ---
> drivers/base/memory.c | 163 ++++++++++++++++++++++----------------------------
> 1 file changed, 72 insertions(+), 91 deletions(-)
This doesn't seem to apply to 3.10-rc2, can you refresh it and resend it
so that I can apply it?
thanks,
greg k-h
next prev parent reply other threads:[~2013-05-21 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 16:09 [PATCH] drivers/base: Use attribute groups to create sysfs memory files Nathan Fontenot
2013-05-08 16:09 ` Nathan Fontenot
2013-05-21 16:33 ` Greg Kroah-Hartman [this message]
2013-05-21 16:33 ` Greg Kroah-Hartman
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=20130521163312.GA27705@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=nfont@linux.vnet.ibm.com \
/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.