remove unbalanced kunmap
PATCH 1/1 remove unbalanced kunmap
Spotted via visual inspection of the code.
Benoît Canet (1):
libceph: Remove spurious kunmap() of the zero page
net/ceph/messenger.c | 1 - 1 file changed, 1 deletion(-)
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/1 libceph: Remove spurious kunmap() of the zero page
ceph_tcp_sendpage already does the work of mapping/unmapping the zero page if needed.
--- net/ceph/messenger.c | 1 - 1 file changed, 1 deletion(-)
net/ceph/messenger.c +0 -1
@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void)ceph_msgr_slab_exit ();BUG_ON (zero_page ==NULL ); -kunmap (zero_page);page_cache_release (zero_page); zero_page =NULL ; }
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] libceph: Remove spurious kunmap() of the zero page
Quoted 4 lines · Benoît Canet
ceph_tcp_sendpagealready does the work of mapping/unmapping the zero page if needed.Signed-off-by Benoît Canet <[email protected]>
This looks good.
Quoted 10 lines
--- net/ceph/messenger.c | 1 - 1 file changed, 1 deletion(-)net/ceph/messenger.c +0
-0
net/ceph/messenger.c static void _ceph_msgr_exit(void) · line 283
Quoted 7 lines
net/ceph/messenger.c +0
-1@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void)ceph_msgr_slab_exit ();BUG_ON (zero_page ==NULL ); -kunmap (zero_page);page_cache_release (zero_page); zero_page =NULL ; }
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] libceph: Remove spurious kunmap() of the zero page
Quoted 11 lines · Alex Elder
Quoted 5 lines · Benoît Canet
ceph_tcp_sendpagealready does the work of mapping/unmapping the zero page if needed.Signed-off-by Benoît Canet <[email protected]>This looks good.
Reviewed-by Alex Elder <[email protected]>
Applied.
Thanks,
Ilya
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Benoît Canet
Spotted via visual inspection of the code.
Benoît Canet (1):
libceph: Remove spuriouskunmap()of the zero pagenet/ceph/messenger.c | 1 - 1 file changed, 1 deletion(-)
I got no patch with this. Is it just me? -Alex
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Alex Elder
Quoted 8 lines · Benoît Canet
Spotted via visual inspection of the code.
Benoît Canet (1):
libceph: Remove spuriouskunmap()of the zero pagenet/ceph/messenger.c | 1 - 1 file changed, 1 deletion(-)I got no patch with this. Is it just me? -Alex
Nevermind. I get it. This was associated with the patch I just signed off on...
-Alex
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html