MAINTAINERS: adjust path of actually maintained memshr code in tools
PATCH 1/2 MAINTAINERS: adjust path of actually maintained memshr code in tools
Only tools/tests/mem-sharing is maintained under the tools folder.
--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -504,7 +504,7 @@ X86 MEMORY SHARING M: Tamas K Lengyel <[email protected]> S: Odd Fixes F: xen/arch/x86/mm/mem_sharing.c -F: tools/memshr +F: tools/tests/mem-sharing/ X86 SHADOW PAGETABLES M: Tim Deegan <[email protected]>
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 2/2 Remove undocumented and unmaintained tools/memshr library
The library has been largely untouched for over a decade at this point, it is undocumented and it's unclear what it was originally used for. Remove it from tree, if anyone needs it in the future it can be carved out from git history.
--- tools/Makefile | 1 - tools/memshr/Makefile | 49 -- tools/memshr/bidir-daemon.c | 103 --- tools/memshr/bidir-daemon.h | 24 - tools/memshr/bidir-hash.c | 1355 --------------------------------- tools/memshr/bidir-hash.h | 114 --- tools/memshr/bidir-namedefs.h | 79 -- tools/memshr/interface.c | 224 ------ tools/memshr/memshr-priv.h | 33 - tools/memshr/memshr.h | 51 -- tools/memshr/shm.c | 262 ------- tools/memshr/shm.h | 49 -- 12 files changed, 2344 deletions(-) delete mode 100644 tools/memshr/Makefile delete mode 100644 tools/memshr/bidir-daemon.c delete mode 100644 tools/memshr/bidir-daemon.h delete mode 100644 tools/memshr/bidir-hash.c delete mode 100644 tools/memshr/bidir-hash.h delete mode 100644 tools/memshr/bidir-namedefs.h delete mode 100644 tools/memshr/interface.c delete mode 100644 tools/memshr/memshr-priv.h delete mode 100644 tools/memshr/memshr.h delete mode 100644 tools/memshr/shm.c delete mode 100644 tools/memshr/shm.h
tools/Makefile +0 -1
@@ -19,7 +19,6 @@ SUBDIRS-$(CONFIG_X86) += firmware SUBDIRS-y += console SUBDIRS-y += xenmon SUBDIRS-y += xenstat -SUBDIRS-$(CONFIG_Linux) += memshr SUBDIRS-$(CONFIG_NetBSD) += xenbackendd SUBDIRS-y += libfsimage SUBDIRS-$(CONFIG_Linux) += libvchan
tools/memshr/Makefile deleted +0 -49
49 lines not on this page · raw message
tools/memshr/bidir-daemon.c deleted +0 -103
103 lines not on this page · raw message
tools/memshr/bidir-daemon.h deleted +0 -24
@@ -1,24 +0,0 @@ -/****************************************************************************** -* -* Copyright (c) 2009 Citrix Systems, Inc. (Grzegorz Milos) -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef __BIDIR_DAEMON_H__ -#define __BIDIR_DAEMON_H__ - -void bidir_daemon_initialize (struct blockshr_hash *blks); - -#endif /* __BIDIR_DAEMON_H__ */
tools/memshr/bidir-hash.c deleted +0 -1355
1,355 lines not on this page · raw message
tools/memshr/bidir-hash.h deleted +0 -114
114 lines not on this page · raw message
tools/memshr/bidir-namedefs.h deleted +0 -79
79 lines not on this page · raw message
tools/memshr/interface.c deleted +0 -224
224 lines not on this page · raw message
tools/memshr/memshr-priv.h deleted +0 -33
@@ -1,33 +0,0 @@ -/****************************************************************************** -* -* Copyright (c) 2009 Citrix Systems, Inc. (Grzegorz Milos) -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; If not, see <http://www.gnu.org/licenses/>. -*/ -#ifndef __MEMSHR_PRIV_H__ -#define __MEMSHR_PRIV_H__ - -#include <syslog.h> -#include <xenctrl.h> -#include "memshr.h" - -#if 1 -#define DPRINTF(_f, _a...) syslog(LOG_INFO, _f, ##_a) -#else -#define DPRINTF(_f, _a...) ((void)0) -#endif - -#define EPRINTF(_f, _a...) syslog(LOG_ERR, "memshr:%s: " _f, __func__, ##_a) - -#endif /* __MEMSHR_PRIV_H__ */
tools/memshr/memshr.h deleted +0 -51
51 lines not on this page · raw message
tools/memshr/shm.c deleted +0 -262
262 lines not on this page · raw message
tools/memshr/shm.h deleted +0 -49
49 lines not on this page · raw message
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library
Quoted 5 lines · Tamas K Lengyel
The library has been largely untouched for over a decade at this point, it is undocumented and it's unclear what it was originally used for. Remove it from tree, if anyone needs it in the future it can be carved out from git history.
Signed-off-by Tamas K Lengyel <[email protected]>
Hmm - this is a little awkward. You remove yourself as maintainer of this code, then delete it.
I suspect what you want to do is have patch 1 simply add tools/test saying "include other memshr content", and this patch delete tools/memshr including the entry in the maintainers file. (Can be fixed up on commit of course, seeing as this is the only issue.)
Overall, I agree with the change, but it will need a tools ack.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library
Quoted 11 lines · Andrew Cooper
Quoted 5 lines · Tamas K Lengyel
The library has been largely untouched for over a decade at this point, it is undocumented and it's unclear what it was originally used for. Remove it from tree, if anyone needs it in the future it can be carved out from git history.
Signed-off-by Tamas K Lengyel <[email protected]>Hmm - this is a little awkward. You remove yourself as maintainer of this code, then delete it.
Quoted 7 lines
I suspect what you want to do is have patch 1 simply add
tools/testsaying "include other memshr content", and this patch deletetools/memshrincluding the entry in the maintainers file. (Can be fixed up on commit of course, seeing as this is the only issue.)Overall, I agree with the change, but it will need a tools ack.
I was considering just squashing the two patches into one but wasn't sure if anyone would object to removing dead code (that seems to be never done). So if there is no objection and the only problem is "ordering", it would be simpler to just squash the two into one during commit.
Tamas
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Wei Liu
Acked-byRe: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library
In reply to Andrew CooperQuoted 10 lines · Andrew Cooper
Quoted 5 lines · Tamas K Lengyel
The library has been largely untouched for over a decade at this point, it is undocumented and it's unclear what it was originally used for. Remove it from tree, if anyone needs it in the future it can be carved out from git history.
Signed-off-by Tamas K Lengyel <[email protected]>Hmm - this is a little awkward. You remove yourself as maintainer of this code, then delete it.
Quoted 7 lines
I suspect what you want to do is have patch 1 simply add
tools/testsaying "include other memshr content", and this patch deletetools/memshrincluding the entry in the maintainers file. (Can be fixed up on commit of course, seeing as this is the only issue.)Overall, I agree with the change, but it will need a tools ack.
I mostly agree with Tamas' assessment. No point in keeping dead and unused code in tree.
Wei.
Quoted 1 line
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library
Quoted 15 lines · Wei Liu
Quoted 14 lines · Andrew Cooper
Quoted 5 lines · Tamas K Lengyel
The library has been largely untouched for over a decade at this point, it is undocumented and it's unclear what it was originally used for. Remove it from tree, if anyone needs it in the future it can be carved out from git history.
Signed-off-by Tamas K Lengyel <[email protected]>Hmm - this is a little awkward. You remove yourself as maintainer of this code, then delete it.
I suspect what you want to do is have patch 1 simply add
tools/testsaying "include other memshr content", and this patch deletetools/memshrincluding the entry in the maintainers file. (Can be fixed up on commit of course, seeing as this is the only issue.)
Quoted 6 lines
Quoted 2 lines
Overall, I agree with the change, but it will need a tools ack.
I mostly agree with Tamas' assessment. No point in keeping dead and unused code in tree.
Acked-by Wei Liu <[email protected]>
Cool. If noone else gets to it, I'll see about committing this series and shuffling the order of operations.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel