Re: [PATCH] fs/debugfs: add get/set for atomic_long types
From: Ganesh Mahendran
Date: Thu Dec 11 2014 - 17:56:52 EST
Hello Greg:
2014-12-11 22:45 GMT+08:00 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>:
> On Thu, Dec 11, 2014 at 08:47:10PM +0800, Ganesh Mahendran wrote:
>> debugfs currently can not create attributes that set/get
>> atomic_long_t values.
>>
>> This patch adds support for this through a new
>> debugfs_create_atomic_long_t() function.
>>
>> Signed-off-by: Ganesh Mahendran <opensource.ganesh@xxxxxxxxx>
>> ---
>> fs/debugfs/file.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
>> include/linux/debugfs.h | 2 ++
>> 2 files changed, 47 insertions(+)
>
> Do you have kernel code that depends on this?
Currently there is no code that is depending on this.
I found there is not a debugfs API to get/set atomic_long_t when I was debuging
mm/zsmalloc. So I sent this patch.
>
> It's the middle of the merge window, so this will have to wait until
> after 3.19-rc1, ok?
It is OK. It is not an urgent patch.
Thanks so much!
>
> thanks,
>
> greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/