All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] replace del_timer by del_timer_sync
@ 2014-03-26 21:33 ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: linux-serial
  Cc: kernel-janitors, tglx, linux-kernel, netdev, devel, linux-mips,
	linux-hams

These patches replace del_timer by del_timer_sync in module_exit functions.


^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 0/7] replace del_timer by del_timer_sync
@ 2014-03-26 21:33 ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: linux-serial
  Cc: devel, linux-mips, netdev, kernel-janitors, linux-kernel,
	linux-hams, tglx

These patches replace del_timer by del_timer_sync in module_exit functions.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 0/7] replace del_timer by del_timer_sync
@ 2014-03-26 21:33 ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: linux-serial
  Cc: kernel-janitors, tglx, linux-kernel, netdev, devel, linux-mips,
	linux-hams

These patches replace del_timer by del_timer_sync in module_exit functions.


^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 1/7] isdn: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Karsten Keil; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/isdn/act2000/module.c  |    2 +-
 drivers/isdn/i4l/isdn_common.c |    2 +-
 drivers/isdn/sc/init.c         |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/isdn/sc/init.c b/drivers/isdn/sc/init.c
index 92acc81..d6f19b1 100644
--- a/drivers/isdn/sc/init.c
+++ b/drivers/isdn/sc/init.c
@@ -390,8 +390,8 @@ static void __exit sc_exit(void)
 		/*
 		 * kill the timers
 		 */
-		del_timer(&(sc_adapter[i]->reset_timer));
-		del_timer(&(sc_adapter[i]->stat_timer));
+		del_timer_sync(&(sc_adapter[i]->reset_timer));
+		del_timer_sync(&(sc_adapter[i]->stat_timer));
 
 		/*
 		 * Tell I4L we're toast
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c
index 130f216..9b856e1 100644
--- a/drivers/isdn/i4l/isdn_common.c
+++ b/drivers/isdn/i4l/isdn_common.c
@@ -2381,7 +2381,7 @@ static void __exit isdn_exit(void)
 	}
 	isdn_tty_exit();
 	unregister_chrdev(ISDN_MAJOR, "isdn");
-	del_timer(&dev->timer);
+	del_timer_sync(&dev->timer);
 	/* call vfree with interrupts enabled, else it will hang */
 	vfree(dev);
 	printk(KERN_NOTICE "ISDN-subsystem unloaded\n");
diff --git a/drivers/isdn/act2000/module.c b/drivers/isdn/act2000/module.c
index b4147c0..c3a1b06 100644
--- a/drivers/isdn/act2000/module.c
+++ b/drivers/isdn/act2000/module.c
@@ -796,7 +796,7 @@ static void __exit act2000_exit(void)
 	act2000_card *last;
 	while (card) {
 		unregister_card(card);
-		del_timer(&card->ptimer);
+		del_timer_sync(&card->ptimer);
 		card = card->next;
 	}
 	card = cards;


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 1/7] isdn: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Karsten Keil; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/isdn/act2000/module.c  |    2 +-
 drivers/isdn/i4l/isdn_common.c |    2 +-
 drivers/isdn/sc/init.c         |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/isdn/sc/init.c b/drivers/isdn/sc/init.c
index 92acc81..d6f19b1 100644
--- a/drivers/isdn/sc/init.c
+++ b/drivers/isdn/sc/init.c
@@ -390,8 +390,8 @@ static void __exit sc_exit(void)
 		/*
 		 * kill the timers
 		 */
-		del_timer(&(sc_adapter[i]->reset_timer));
-		del_timer(&(sc_adapter[i]->stat_timer));
+		del_timer_sync(&(sc_adapter[i]->reset_timer));
+		del_timer_sync(&(sc_adapter[i]->stat_timer));
 
 		/*
 		 * Tell I4L we're toast
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c
index 130f216..9b856e1 100644
--- a/drivers/isdn/i4l/isdn_common.c
+++ b/drivers/isdn/i4l/isdn_common.c
@@ -2381,7 +2381,7 @@ static void __exit isdn_exit(void)
 	}
 	isdn_tty_exit();
 	unregister_chrdev(ISDN_MAJOR, "isdn");
-	del_timer(&dev->timer);
+	del_timer_sync(&dev->timer);
 	/* call vfree with interrupts enabled, else it will hang */
 	vfree(dev);
 	printk(KERN_NOTICE "ISDN-subsystem unloaded\n");
diff --git a/drivers/isdn/act2000/module.c b/drivers/isdn/act2000/module.c
index b4147c0..c3a1b06 100644
--- a/drivers/isdn/act2000/module.c
+++ b/drivers/isdn/act2000/module.c
@@ -796,7 +796,7 @@ static void __exit act2000_exit(void)
 	act2000_card *last;
 	while (card) {
 		unregister_card(card);
-		del_timer(&card->ptimer);
+		del_timer_sync(&card->ptimer);
 		card = card->next;
 	}
 	card = cards;


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: David S. Miller; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 net/atm/mpc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/atm/mpc.c b/net/atm/mpc.c
index b71ff6b..91dc58f 100644
--- a/net/atm/mpc.c
+++ b/net/atm/mpc.c
@@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
 
 	mpc_proc_clean();
 
-	del_timer(&mpc_timer);
+	del_timer_sync(&mpc_timer);
 	unregister_netdevice_notifier(&mpoa_notifier);
 	deregister_atm_ioctl(&atm_ioctl_ops);
 


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: David S. Miller; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 net/atm/mpc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/atm/mpc.c b/net/atm/mpc.c
index b71ff6b..91dc58f 100644
--- a/net/atm/mpc.c
+++ b/net/atm/mpc.c
@@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
 
 	mpc_proc_clean();
 
-	del_timer(&mpc_timer);
+	del_timer_sync(&mpc_timer);
 	unregister_netdevice_notifier(&mpoa_notifier);
 	deregister_atm_ioctl(&atm_ioctl_ops);
 


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 3/7] staging: panel: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Willy Tarreau
  Cc: kernel-janitors, tglx, Greg Kroah-Hartman, devel, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/staging/panel/panel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 08f9a48..a53f94e 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -2298,7 +2298,7 @@ static void __exit panel_cleanup_module(void)
 	unregister_reboot_notifier(&panel_notifier);
 
 	if (scan_timer.function != NULL)
-		del_timer(&scan_timer);
+		del_timer_sync(&scan_timer);
 
 	if (pprt != NULL) {
 		if (keypad_enabled) {


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 3/7] staging: panel: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Willy Tarreau
  Cc: kernel-janitors, tglx, Greg Kroah-Hartman, devel, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/staging/panel/panel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 08f9a48..a53f94e 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -2298,7 +2298,7 @@ static void __exit panel_cleanup_module(void)
 	unregister_reboot_notifier(&panel_notifier);
 
 	if (scan_timer.function != NULL)
-		del_timer(&scan_timer);
+		del_timer_sync(&scan_timer);
 
 	if (pprt != NULL) {
 		if (keypad_enabled) {


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 4/7] tty: serial: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: kernel-janitors, tglx, Jiri Slaby, linux-serial, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/tty/serial/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/mux.c b/drivers/tty/serial/mux.c
index 7fd6aaa..19845e3 100644
--- a/drivers/tty/serial/mux.c
+++ b/drivers/tty/serial/mux.c
@@ -613,7 +613,7 @@ static void __exit mux_exit(void)
 {
 	/* Delete the Mux timer. */
 	if(port_cnt > 0) {
-		del_timer(&mux_timer);
+		del_timer_sync(&mux_timer);
 #ifdef CONFIG_SERIAL_MUX_CONSOLE
 		unregister_console(&mux_console);
 #endif


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 4/7] tty: serial: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: kernel-janitors, tglx, Jiri Slaby, linux-serial, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/tty/serial/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/mux.c b/drivers/tty/serial/mux.c
index 7fd6aaa..19845e3 100644
--- a/drivers/tty/serial/mux.c
+++ b/drivers/tty/serial/mux.c
@@ -613,7 +613,7 @@ static void __exit mux_exit(void)
 {
 	/* Delete the Mux timer. */
 	if(port_cnt > 0) {
-		del_timer(&mux_timer);
+		del_timer_sync(&mux_timer);
 #ifdef CONFIG_SERIAL_MUX_CONSOLE
 		unregister_console(&mux_console);
 #endif


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 5/7] MIPS: Lasat: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: kernel-janitors, tglx, linux-mips, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 arch/mips/lasat/picvue_proc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/lasat/picvue_proc.c b/arch/mips/lasat/picvue_proc.c
index 638c5db..2bcd839 100644
--- a/arch/mips/lasat/picvue_proc.c
+++ b/arch/mips/lasat/picvue_proc.c
@@ -175,7 +175,7 @@ static void pvc_proc_cleanup(void)
 	remove_proc_entry("scroll", pvc_display_dir);
 	remove_proc_entry(DISPLAY_DIR_NAME, NULL);
 
-	del_timer(&timer);
+	del_timer_sync(&timer);
 }
 
 static int __init pvc_proc_init(void)


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 5/7] MIPS: Lasat: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: kernel-janitors, tglx, linux-mips, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 arch/mips/lasat/picvue_proc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/lasat/picvue_proc.c b/arch/mips/lasat/picvue_proc.c
index 638c5db..2bcd839 100644
--- a/arch/mips/lasat/picvue_proc.c
+++ b/arch/mips/lasat/picvue_proc.c
@@ -175,7 +175,7 @@ static void pvc_proc_cleanup(void)
 	remove_proc_entry("scroll", pvc_display_dir);
 	remove_proc_entry(DISPLAY_DIR_NAME, NULL);
 
-	del_timer(&timer);
+	del_timer_sync(&timer);
 }
 
 static int __init pvc_proc_init(void)


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 6/7] hsr: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Arvid Brodin; +Cc: kernel-janitors, tglx, David S. Miller, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 net/hsr/hsr_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/hsr/hsr_main.c b/net/hsr/hsr_main.c
index 10010c5..3fee521 100644
--- a/net/hsr/hsr_main.c
+++ b/net/hsr/hsr_main.c
@@ -459,7 +459,7 @@ static int __init hsr_init(void)
 static void __exit hsr_exit(void)
 {
 	unregister_netdevice_notifier(&hsr_nb);
-	del_timer(&prune_timer);
+	del_timer_sync(&prune_timer);
 	hsr_netlink_exit();
 	dev_remove_pack(&hsr_pt);
 }


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 6/7] hsr: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Arvid Brodin; +Cc: kernel-janitors, tglx, David S. Miller, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 net/hsr/hsr_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/hsr/hsr_main.c b/net/hsr/hsr_main.c
index 10010c5..3fee521 100644
--- a/net/hsr/hsr_main.c
+++ b/net/hsr/hsr_main.c
@@ -459,7 +459,7 @@ static int __init hsr_init(void)
 static void __exit hsr_exit(void)
 {
 	unregister_netdevice_notifier(&hsr_nb);
-	del_timer(&prune_timer);
+	del_timer_sync(&prune_timer);
 	hsr_netlink_exit();
 	dev_remove_pack(&hsr_pt);
 }


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 7/7] yam: replace del_timer by del_timer_sync
  2014-03-26 21:33 ` Julia Lawall
@ 2014-03-26 21:33   ` Julia Lawall
  -1 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Jean-Paul Roubelat
  Cc: kernel-janitors, tglx, linux-hams, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/net/hamradio/yam.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index 61dd244..8190165 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -1184,7 +1184,7 @@ static void __exit yam_cleanup_driver(void)
 	struct yam_mcs *p;
 	int i;
 
-	del_timer(&yam_timer);
+	del_timer_sync(&yam_timer);
 	for (i = 0; i < NR_PORTS; i++) {
 		struct net_device *dev = yam_devs[i];
 		if (dev) {


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 7/7] yam: replace del_timer by del_timer_sync
@ 2014-03-26 21:33   ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-26 21:33 UTC (permalink / raw)
  To: Jean-Paul Roubelat
  Cc: kernel-janitors, tglx, linux-hams, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>

Use del_timer_sync to ensure that the timer is stopped on all CPUs before
the driver exists.

This change was suggested by Thomas Gleixner

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
declarer name module_exit;
identifier ex;
@@

module_exit(ex);

@@
identifier r.ex;
@@

ex(...) {
  <...
- del_timer
+ del_timer_sync
    (...)
  ...>
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
Not tested.

 drivers/net/hamradio/yam.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index 61dd244..8190165 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -1184,7 +1184,7 @@ static void __exit yam_cleanup_driver(void)
 	struct yam_mcs *p;
 	int i;
 
-	del_timer(&yam_timer);
+	del_timer_sync(&yam_timer);
 	for (i = 0; i < NR_PORTS; i++) {
 		struct net_device *dev = yam_devs[i];
 		if (dev) {


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
@ 2014-03-26 21:56     ` Eric Dumazet
  -1 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 21:56 UTC (permalink / raw)
  To: Julia Lawall; +Cc: David S. Miller, kernel-janitors, tglx, netdev, linux-kernel

On Wed, 2014-03-26 at 22:33 +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@lip6.fr>

> 
> diff --git a/net/atm/mpc.c b/net/atm/mpc.c
> index b71ff6b..91dc58f 100644
> --- a/net/atm/mpc.c
> +++ b/net/atm/mpc.c
> @@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
>  
>  	mpc_proc_clean();
>  
> -	del_timer(&mpc_timer);
> +	del_timer_sync(&mpc_timer);
>  	unregister_netdevice_notifier(&mpoa_notifier);
>  	deregister_atm_ioctl(&atm_ioctl_ops);
>  

It seems this timer rearms itself, so this patch wont be enough I fear.





^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 21:56     ` Eric Dumazet
  0 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 21:56 UTC (permalink / raw)
  To: Julia Lawall; +Cc: David S. Miller, kernel-janitors, tglx, netdev, linux-kernel

On Wed, 2014-03-26 at 22:33 +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@lip6.fr>

> 
> diff --git a/net/atm/mpc.c b/net/atm/mpc.c
> index b71ff6b..91dc58f 100644
> --- a/net/atm/mpc.c
> +++ b/net/atm/mpc.c
> @@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
>  
>  	mpc_proc_clean();
>  
> -	del_timer(&mpc_timer);
> +	del_timer_sync(&mpc_timer);
>  	unregister_netdevice_notifier(&mpoa_notifier);
>  	deregister_atm_ioctl(&atm_ioctl_ops);
>  

It seems this timer rearms itself, so this patch wont be enough I fear.





^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 21:56     ` Eric Dumazet
@ 2014-03-26 22:02       ` Thomas Gleixner
  -1 siblings, 0 replies; 39+ messages in thread
From: Thomas Gleixner @ 2014-03-26 22:02 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel

On Wed, 26 Mar 2014, Eric Dumazet wrote:
> On Wed, 2014-03-26 at 22:33 +0100, Julia Lawall wrote:
> > From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> > 
> > diff --git a/net/atm/mpc.c b/net/atm/mpc.c
> > index b71ff6b..91dc58f 100644
> > --- a/net/atm/mpc.c
> > +++ b/net/atm/mpc.c
> > @@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
> >  
> >  	mpc_proc_clean();
> >  
> > -	del_timer(&mpc_timer);
> > +	del_timer_sync(&mpc_timer);
> >  	unregister_netdevice_notifier(&mpoa_notifier);
> >  	deregister_atm_ioctl(&atm_ioctl_ops);
> >  
> 
> It seems this timer rearms itself, so this patch wont be enough I fear.

That's why you need del_timer_sync() it waits for the timer handler to
complete and then removes it.

Thanks,

	tglx


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 22:02       ` Thomas Gleixner
  0 siblings, 0 replies; 39+ messages in thread
From: Thomas Gleixner @ 2014-03-26 22:02 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel

On Wed, 26 Mar 2014, Eric Dumazet wrote:
> On Wed, 2014-03-26 at 22:33 +0100, Julia Lawall wrote:
> > From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> > 
> > diff --git a/net/atm/mpc.c b/net/atm/mpc.c
> > index b71ff6b..91dc58f 100644
> > --- a/net/atm/mpc.c
> > +++ b/net/atm/mpc.c
> > @@ -1492,7 +1492,7 @@ static void __exit atm_mpoa_cleanup(void)
> >  
> >  	mpc_proc_clean();
> >  
> > -	del_timer(&mpc_timer);
> > +	del_timer_sync(&mpc_timer);
> >  	unregister_netdevice_notifier(&mpoa_notifier);
> >  	deregister_atm_ioctl(&atm_ioctl_ops);
> >  
> 
> It seems this timer rearms itself, so this patch wont be enough I fear.

That's why you need del_timer_sync() it waits for the timer handler to
complete and then removes it.

Thanks,

	tglx


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 21:56     ` Eric Dumazet
@ 2014-03-26 22:19       ` Vijay Subramanian
  -1 siblings, 0 replies; 39+ messages in thread
From: Vijay Subramanian @ 2014-03-26 22:19 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, tglx, netdev,
	linux-kernel

>
> It seems this timer rearms itself, so this patch wont be enough I fear.
>
>
>
Does that matter? It seems del_timer_sync() may be intended to work
despite this (i.e. timer will not fire after call to this function).
My earlier attempt to fix a similar issue in sch_red.c resulted in
this explanation.
http://www.spinics.net/lists/netdev/msg256410.html

Vijay

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 22:19       ` Vijay Subramanian
  0 siblings, 0 replies; 39+ messages in thread
From: Vijay Subramanian @ 2014-03-26 22:19 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, tglx, netdev,
	linux-kernel

>
> It seems this timer rearms itself, so this patch wont be enough I fear.
>
>
>
Does that matter? It seems del_timer_sync() may be intended to work
despite this (i.e. timer will not fire after call to this function).
My earlier attempt to fix a similar issue in sch_red.c resulted in
this explanation.
http://www.spinics.net/lists/netdev/msg256410.html

Vijay

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 22:02       ` Thomas Gleixner
@ 2014-03-26 22:22         ` Eric Dumazet
  -1 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 22:22 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel

On Wed, 2014-03-26 at 23:02 +0100, Thomas Gleixner wrote:

> That's why you need del_timer_sync() it waits for the timer handler to
> complete and then removes it.

Interesting... So maybe some comment is stale ?


diff --git a/kernel/timer.c b/kernel/timer.c
index accfd241b9e5..c948fa2fc065 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1011,10 +1011,10 @@ EXPORT_SYMBOL(try_to_del_timer_sync);
  * the timer it also makes sure the handler has finished executing on other
  * CPUs.
  *
- * Synchronization rules: Callers must prevent restarting of the timer,
- * otherwise this function is meaningless. It must not be called from
- * interrupt contexts unless the timer is an irqsafe one. The caller must
- * not hold locks which would prevent completion of the timer's
+ * Synchronization rules:
+ * It must not be called from interrupt contexts unless the timer is an
+ * irqsafe one.
+ * The caller must not hold locks which would prevent completion of the timer's
  * handler. The timer's handler must not call add_timer_on(). Upon exit the
  * timer is not queued and the handler is not running on any CPU.
  *



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 22:22         ` Eric Dumazet
  0 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 22:22 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel

On Wed, 2014-03-26 at 23:02 +0100, Thomas Gleixner wrote:

> That's why you need del_timer_sync() it waits for the timer handler to
> complete and then removes it.

Interesting... So maybe some comment is stale ?


diff --git a/kernel/timer.c b/kernel/timer.c
index accfd241b9e5..c948fa2fc065 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1011,10 +1011,10 @@ EXPORT_SYMBOL(try_to_del_timer_sync);
  * the timer it also makes sure the handler has finished executing on other
  * CPUs.
  *
- * Synchronization rules: Callers must prevent restarting of the timer,
- * otherwise this function is meaningless. It must not be called from
- * interrupt contexts unless the timer is an irqsafe one. The caller must
- * not hold locks which would prevent completion of the timer's
+ * Synchronization rules:
+ * It must not be called from interrupt contexts unless the timer is an
+ * irqsafe one.
+ * The caller must not hold locks which would prevent completion of the timer's
  * handler. The timer's handler must not call add_timer_on(). Upon exit the
  * timer is not queued and the handler is not running on any CPU.
  *



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 22:19       ` Vijay Subramanian
@ 2014-03-26 22:31         ` Eric Dumazet
  -1 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 22:31 UTC (permalink / raw)
  To: Vijay Subramanian
  Cc: Julia Lawall, David S. Miller, kernel-janitors, tglx, netdev,
	linux-kernel

On Wed, 2014-03-26 at 15:19 -0700, Vijay Subramanian wrote:
> >
> > It seems this timer rearms itself, so this patch wont be enough I fear.
> >
> >
> >
> Does that matter? It seems del_timer_sync() may be intended to work
> despite this (i.e. timer will not fire after call to this function).
> My earlier attempt to fix a similar issue in sch_red.c resulted in
> this explanation.
> http://www.spinics.net/lists/netdev/msg256410.html

I know this very well, thank you.

If documentation is stale, it needs clarification.

If not, we need to make sure timer wont be restarted.




^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 22:31         ` Eric Dumazet
  0 siblings, 0 replies; 39+ messages in thread
From: Eric Dumazet @ 2014-03-26 22:31 UTC (permalink / raw)
  To: Vijay Subramanian
  Cc: Julia Lawall, David S. Miller, kernel-janitors, tglx, netdev,
	linux-kernel

On Wed, 2014-03-26 at 15:19 -0700, Vijay Subramanian wrote:
> >
> > It seems this timer rearms itself, so this patch wont be enough I fear.
> >
> >
> >
> Does that matter? It seems del_timer_sync() may be intended to work
> despite this (i.e. timer will not fire after call to this function).
> My earlier attempt to fix a similar issue in sch_red.c resulted in
> this explanation.
> http://www.spinics.net/lists/netdev/msg256410.html

I know this very well, thank you.

If documentation is stale, it needs clarification.

If not, we need to make sure timer wont be restarted.




^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 22:22         ` Eric Dumazet
@ 2014-03-26 22:56           ` Thomas Gleixner
  -1 siblings, 0 replies; 39+ messages in thread
From: Thomas Gleixner @ 2014-03-26 22:56 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel



On Wed, 26 Mar 2014, Eric Dumazet wrote:

> On Wed, 2014-03-26 at 23:02 +0100, Thomas Gleixner wrote:
> 
> > That's why you need del_timer_sync() it waits for the timer handler to
> > complete and then removes it.
> 
> Interesting... So maybe some comment is stale ?
> 
> 
> diff --git a/kernel/timer.c b/kernel/timer.c
> index accfd241b9e5..c948fa2fc065 100644
> --- a/kernel/timer.c
> +++ b/kernel/timer.c
> @@ -1011,10 +1011,10 @@ EXPORT_SYMBOL(try_to_del_timer_sync);
>   * the timer it also makes sure the handler has finished executing on other
>   * CPUs.
>   *
> - * Synchronization rules: Callers must prevent restarting of the timer,
> - * otherwise this function is meaningless. It must not be called from

We still need to prevent restarting from some other site,
i.e. interrupt. It's fine if the timer handler itself restarts the
timer, as del_timer_sync() wait for the handler to finish and then
delete the timer.

I can't find the reason why it can't call add_timer_on(). We
lock/unlock the timer base in every try_to_del_timer_sync() loop so we
detect the base change.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-26 22:56           ` Thomas Gleixner
  0 siblings, 0 replies; 39+ messages in thread
From: Thomas Gleixner @ 2014-03-26 22:56 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: Julia Lawall, David S. Miller, kernel-janitors, netdev, linux-kernel



On Wed, 26 Mar 2014, Eric Dumazet wrote:

> On Wed, 2014-03-26 at 23:02 +0100, Thomas Gleixner wrote:
> 
> > That's why you need del_timer_sync() it waits for the timer handler to
> > complete and then removes it.
> 
> Interesting... So maybe some comment is stale ?
> 
> 
> diff --git a/kernel/timer.c b/kernel/timer.c
> index accfd241b9e5..c948fa2fc065 100644
> --- a/kernel/timer.c
> +++ b/kernel/timer.c
> @@ -1011,10 +1011,10 @@ EXPORT_SYMBOL(try_to_del_timer_sync);
>   * the timer it also makes sure the handler has finished executing on other
>   * CPUs.
>   *
> - * Synchronization rules: Callers must prevent restarting of the timer,
> - * otherwise this function is meaningless. It must not be called from

We still need to prevent restarting from some other site,
i.e. interrupt. It's fine if the timer handler itself restarts the
timer, as del_timer_sync() wait for the handler to finish and then
delete the timer.

I can't find the reason why it can't call add_timer_on(). We
lock/unlock the timer base in every try_to_del_timer_sync() loop so we
detect the base change.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 1/7] isdn: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
@ 2014-03-27 19:28     ` David Miller
  -1 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: isdn, kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:39 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 1/7] isdn: replace del_timer by del_timer_sync
@ 2014-03-27 19:28     ` David Miller
  0 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: isdn, kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:39 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
@ 2014-03-27 19:28     ` David Miller
  -1 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:40 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 2/7] atm: replace del_timer by del_timer_sync
@ 2014-03-27 19:28     ` David Miller
  0 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:40 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 6/7] hsr: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
@ 2014-03-27 19:28     ` David Miller
  -1 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: arvid.brodin, kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:44 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 6/7] hsr: replace del_timer by del_timer_sync
@ 2014-03-27 19:28     ` David Miller
  0 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:28 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: arvid.brodin, kernel-janitors, tglx, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:44 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner.
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 7/7] yam: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
@ 2014-03-27 19:29     ` David Miller
  -1 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:29 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: jpr, kernel-janitors, tglx, linux-hams, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:45 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 7/7] yam: replace del_timer by del_timer_sync
@ 2014-03-27 19:29     ` David Miller
  0 siblings, 0 replies; 39+ messages in thread
From: David Miller @ 2014-03-27 19:29 UTC (permalink / raw)
  To: Julia.Lawall; +Cc: jpr, kernel-janitors, tglx, linux-hams, netdev, linux-kernel

From: Julia Lawall <Julia.Lawall@lip6.fr>
Date: Wed, 26 Mar 2014 22:33:45 +0100

> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs before
> the driver exists.
> 
> This change was suggested by Thomas Gleixner
> 
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Applied.

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 1/7] isdn: replace del_timer by del_timer_sync
  2014-03-26 21:33   ` Julia Lawall
  (?)
  (?)
@ 2014-03-28 23:19   ` Tilman Schmidt
  2014-03-29  6:28     ` Julia Lawall
  -1 siblings, 1 reply; 39+ messages in thread
From: Tilman Schmidt @ 2014-03-28 23:19 UTC (permalink / raw)
  To: Julia Lawall; +Cc: Karsten Keil, tglx, netdev, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 26.03.2014 22:33, schrieb Julia Lawall:
> From: Julia Lawall <Julia.Lawall@lip6.fr>
> 
> Use del_timer_sync to ensure that the timer is stopped on all CPUs
> before the driver exists.

Surely you meant "exits"?

Regards,
Tilman

- -- 
Tilman Schmidt                              E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM2A5IACgkQQ3+did9BuFtuMACfarliJdOkqLmJJvRqbcM5eCFd
CWwAn3FuQ+juOeo2EgM8e1JBTjlHhG3o
=a90K
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 1/7] isdn: replace del_timer by del_timer_sync
  2014-03-28 23:19   ` Tilman Schmidt
@ 2014-03-29  6:28     ` Julia Lawall
  0 siblings, 0 replies; 39+ messages in thread
From: Julia Lawall @ 2014-03-29  6:28 UTC (permalink / raw)
  To: Tilman Schmidt; +Cc: Julia Lawall, Karsten Keil, tglx, netdev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 856 bytes --]



On Sat, 29 Mar 2014, Tilman Schmidt wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am 26.03.2014 22:33, schrieb Julia Lawall:
> > From: Julia Lawall <Julia.Lawall@lip6.fr>
> > 
> > Use del_timer_sync to ensure that the timer is stopped on all CPUs
> > before the driver exists.
> 
> Surely you meant "exits"?

Yes.

julia

> 
> Regards,
> Tilman
> 
> - -- 
> Tilman Schmidt                              E-Mail: tilman@imap.cc
> Bonn, Germany
> Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
> Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlM2A5IACgkQQ3+did9BuFtuMACfarliJdOkqLmJJvRqbcM5eCFd
> CWwAn3FuQ+juOeo2EgM8e1JBTjlHhG3o
> =a90K
> -----END PGP SIGNATURE-----
> 

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2014-03-29  6:28 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-26 21:33 [PATCH 0/7] replace del_timer by del_timer_sync Julia Lawall
2014-03-26 21:33 ` Julia Lawall
2014-03-26 21:33 ` Julia Lawall
2014-03-26 21:33 ` [PATCH 1/7] isdn: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-27 19:28   ` David Miller
2014-03-27 19:28     ` David Miller
2014-03-28 23:19   ` Tilman Schmidt
2014-03-29  6:28     ` Julia Lawall
2014-03-26 21:33 ` [PATCH 2/7] atm: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-26 21:56   ` Eric Dumazet
2014-03-26 21:56     ` Eric Dumazet
2014-03-26 22:02     ` Thomas Gleixner
2014-03-26 22:02       ` Thomas Gleixner
2014-03-26 22:22       ` Eric Dumazet
2014-03-26 22:22         ` Eric Dumazet
2014-03-26 22:56         ` Thomas Gleixner
2014-03-26 22:56           ` Thomas Gleixner
2014-03-26 22:19     ` Vijay Subramanian
2014-03-26 22:19       ` Vijay Subramanian
2014-03-26 22:31       ` Eric Dumazet
2014-03-26 22:31         ` Eric Dumazet
2014-03-27 19:28   ` David Miller
2014-03-27 19:28     ` David Miller
2014-03-26 21:33 ` [PATCH 3/7] staging: panel: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-26 21:33 ` [PATCH 4/7] tty: serial: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-26 21:33 ` [PATCH 5/7] MIPS: Lasat: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-26 21:33 ` [PATCH 6/7] hsr: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-27 19:28   ` David Miller
2014-03-27 19:28     ` David Miller
2014-03-26 21:33 ` [PATCH 7/7] yam: " Julia Lawall
2014-03-26 21:33   ` Julia Lawall
2014-03-27 19:29   ` David Miller
2014-03-27 19:29     ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.