* Re: [PATCH] kernfs: Convert from atomic_t to refcount_t on kernfs_node->count
[not found] <1626683601-64278-1-git-send-email-xiyuyang19@fudan.edu.cn>
@ 2021-07-21 15:36 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2021-07-21 15:36 UTC (permalink / raw)
To: Xiyu Yang; +Cc: Tejun Heo, linux-kernel, yuanxzhang, Xin Tan
On Mon, Jul 19, 2021 at 04:33:21PM +0800, Xiyu Yang wrote:
> refcount_t type and corresponding API can protect refcounters from
> accidental underflow and overflow and further use-after-free situations.
But this really is a count, not a refcount.
So are you _sure_ this should be changed?
What did you to do to test this?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] kernfs: Convert from atomic_t to refcount_t on kernfs_node->count
[not found] <60f8506d.1c69fb81.d8d4d.3bceSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2021-07-22 5:49 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2021-07-22 5:49 UTC (permalink / raw)
To: xiyuyang19@fudan.edu.cn; +Cc: Tejun Heo, linux-kernel, yuanxzhang, Xin Tan
On Thu, Jul 22, 2021 at 12:50:34AM +0800, xiyuyang19@fudan.edu.cn wrote:
You sent an empty reply???
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-22 5:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1626683601-64278-1-git-send-email-xiyuyang19@fudan.edu.cn>
2021-07-21 15:36 ` [PATCH] kernfs: Convert from atomic_t to refcount_t on kernfs_node->count Greg Kroah-Hartman
[not found] <60f8506d.1c69fb81.d8d4d.3bceSMTPIN_ADDED_BROKEN@mx.google.com>
2021-07-22 5:49 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox