xen: oprofile/nmi_int.c: Drop unwanted sexual reference
PATCH 1/1 xen: oprofile/nmi_int.c: Drop unwanted sexual reference
This is not really very nice.
I don't understand the technical details here but violence' is probably fair. The word violence' is often used metaphorically in a technical context so I think it's probably OK for use in this way.
IMO this patch should be backported to all maintained trees.
--- xen/arch/x86/oprofile/nmi_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/oprofile/nmi_int.c +1 -1
@@ -182,7 +182,7 @@ int nmi_reserve_counters(void)if (!allocate_msrs ())return -ENOMEM ; -/* We walk a thin line between law and rape here. +/* We walk a thin line between law and violence here. * We need to be careful to install our NMI handler * without actually triggering any NMIs as this will * break the core code horrifically.
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 18 lines · Ian Jackson
This is not really very nice.
I don't understand the technical details here but
violence' is probably fair. The wordviolence' is often used metaphorically in a technical context so I think it's probably OK for use in this way.IMO this patch should be backported to all maintained trees.
Signed-off-by Ian Jackson <[email protected]>--- xen/arch/x86/oprofile/nmi_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/arch/x86/oprofile/nmi_int.c +0
-0
xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void) · line 185
Quoted 5 lines
xen/arch/x86/oprofile/nmi_int.c +1
-1@@ -182,7 +182,7 @@ int nmi_reserve_counters(void)if (!allocate_msrs ())return -ENOMEM ; -/* We walk a thin line between law and rape here. +/* We walk a thin line between law and violence here.
IMHO this line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey.
Wei.
Quoted 11 lines
xen/arch/x86/oprofile/nmi_int.c +0
-0* We need to be careful to install our NMI handler * without actually triggering any NMIs as this will * break the core code horrifically. Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Wei Liu writes ("Re: [Xen-devel] [PATCH] xen: oprofile/nmi_int.c: Drop unwanted sexual reference"):
Quoted 6 lines · Ian Jackson
xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void) · line 185
Quoted 2 lines
xen/arch/x86/oprofile/nmi_int.c +1
-1-/* We walk a thin line between law and rape here. +/* We walk a thin line between law and violence here. IMHO this line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey.
Lars expressed a similar sentiment on irc. I would be very happy to delete it entirely. I will defer to the hypervisor maintainers on that.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 11 lines · Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH] xen:
oprofile/nmi_int.c: Drop unwanted sexual reference"):Quoted 6 lines · Ian Jackson
xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void) · line 185
Quoted 2 lines
xen/arch/x86/oprofile/nmi_int.c +1
-1-/* We walk a thin line between law and rape here. +/* We walk a thin line between law and violence here. IMHO this line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey.
Lars expressed a similar sentiment on irc. I would be very happy to delete it entirely. I will defer to the hypervisor maintainers on that.
+1 for deleting it. Technically it requires an x86 maintianer's ack.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 26 lines · Wei Liu
Quoted 21 lines · Ian Jackson
This is not really very nice.
I don't understand the technical details here but
violence' is probably fair. The wordviolence' is often used metaphorically in a technical context so I think it's probably OK for use in this way.IMO this patch should be backported to all maintained trees.
Signed-off-by Ian Jackson <[email protected]>---
xen/arch/x86/oprofile/nmi_int.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)xen/arch/x86/oprofile/nmi_int.c +0
-0@@ -182,7 +182,7 @@ int nmi_reserve_counters(void)if (!allocate_msrs ())return -ENOMEM ;
Quoted 8 lines
xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void) · line 185
Quoted 2 lines
xen/arch/x86/oprofile/nmi_int.c +1
-1-/* We walk a thin line between law and rape here. +/* We walk a thin line between law and violence here. IMHO this line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey.
Wei.
I agree: we should delete or replace with "ATTENTION:". The following section part of the comment is what is important
Quoted 3 lines
xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void)
Quoted 3 lines
xen/arch/x86/oprofile/nmi_int.c +0
-0* We need to be careful to install our NMI handler * without actually triggering any NMIs as this will * break the core code horrifically
Lars
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel