Skip to contentSkip to conversation

mm: kmemleak: remove unused hardirq.h

PATCH Applied Yang Shi 9 participants 29 messages Nov 17, 2017 – Feb 15, 2018

Subsystems (10)
lore
Share & tools
lore

Yang Shi

author
#0 lore raw

PATCH 1/8 mm: kmemleak: remove unused hardirq.h

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by kmemleak at all.

So, remove the unused hardirq.h.

Cc Michal Hocko <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Matthew Wilcox <[email protected]>
---
 mm/kmemleak.c | 1 -
 1 file changed, 1 deletion(-)
mm/kmemleak.c +0 -1
index 7780cd8..25b977f 100644
@@ -91,7 +91,6 @@
 #include <linux/stacktrace.h>
 #include <linux/cache.h>
 #include <linux/percpu.h>
-#include <linux/hardirq.h>
 #include <linux/bootmem.h>
 #include <linux/pfn.h>
 #include <linux/mmzone.h>
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#1 lore raw

PATCH 2/8 fs: pstore: remove unused hardirq.h

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by pstore at all.

So, remove the unused hardirq.h.

Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>
---
 fs/pstore/platform.c | 1 -
 1 file changed, 1 deletion(-)
fs/pstore/platform.c +0 -1
index 2b21d18..25dcef4 100644
@@ -41,7 +41,6 @@
 #include <linux/timer.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
-#include <linux/hardirq.h>
 #include <linux/jiffies.h>
 #include <linux/workqueue.h>
 
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#2 lore raw

Re: [PATCH 2/8] fs: pstore: remove unused hardirq.h

Quoted 10 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by pstore at all.

So, remove the unused hardirq.h.

Cc Kees Cook <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Colin Cross <[email protected]>
Cc Tony Luck <[email protected]>

Thanks! I've applied this for -next.

-Kees

Quoted 19 lines
---
 fs/pstore/platform.c | 1 -
 1 file changed, 1 deletion(-)
fs/pstore/platform.c +0 -2
index 2b21d18..25dcef4 100644
@@ -41,7 +41,6 @@
 #include <linux/timer.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
-#include <linux/hardirq.h>
 #include <linux/jiffies.h>
 #include <linux/workqueue.h>
 
--

1.8.3.1

Signature · 2 lines
Kees Cook
Pixel Security
author
#3 lore raw

PATCH 3/8 fs: btrfs: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by btrfs at all.

So, remove the unused hardirq.h.

Cc Chris Mason <[email protected]>
Cc Josef Bacik <[email protected]>
Cc David Sterba <[email protected]>
---
 fs/btrfs/extent_map.c | 1 -
 1 file changed, 1 deletion(-)
fs/btrfs/extent_map.c +0 -1
index 2e348fb..cced7f1 100644
@@ -2,7 +2,6 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
-#include <linux/hardirq.h>
 #include "ctree.h"
 #include "extent_map.h"
 #include "compression.h"
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Acked-by on v1 3/8
#4 lore raw

Re: [PATCH 3/8] fs: btrfs: remove unused hardirq.h

Quoted 10 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by btrfs at all.

So, remove the unused hardirq.h.

Cc Chris Mason <[email protected]>
Cc Josef Bacik <[email protected]>
Cc David Sterba <[email protected]>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#5 lore raw

Re: [PATCH 3/8] fs: btrfs: remove unused hardirq.h

Hi folks,

David acked this patch, but it looks nobody picked it up.

Thanks,
Yang

Quoted 14 lines · David Sterba
Quoted 10 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by btrfs at all.

So, remove the unused hardirq.h.

Cc Chris Mason <[email protected]>
Cc Josef Bacik <[email protected]>
Cc David Sterba <[email protected]>
#6 lore raw

Re: [PATCH 3/8] fs: btrfs: remove unused hardirq.h

Quoted 1 line · Yang Shi

David acked this patch, but it looks nobody picked it up.

I'll add it to the for-next patch queue.

author
#7 lore raw

PATCH 4/8 vfs: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by vfs at all.

So, remove the unused hardirq.h.

Cc Alexander Viro <[email protected]>
---
 fs/dcache.c     | 1 -
 fs/file_table.c | 1 -
 2 files changed, 2 deletions(-)
fs/dcache.c +0 -1
index f901413..9340e8c 100644
@@ -32,7 +32,6 @@
 #include <linux/swap.h>
 #include <linux/bootmem.h>
 #include <linux/fs_struct.h>
-#include <linux/hardirq.h>
 #include <linux/bit_spinlock.h>
 #include <linux/rculist_bl.h>
 #include <linux/prefetch.h>
fs/file_table.c +0 -1
index 61517f5..dab099e 100644
@@ -23,7 +23,6 @@
 #include <linux/sysctl.h>
 #include <linux/percpu_counter.h>
 #include <linux/percpu.h>
-#include <linux/hardirq.h>
 #include <linux/task_work.h>
 #include <linux/ima.h>
 #include <linux/swap.h>
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#8 lore raw

Re: [PATCH 4/8] vfs: remove unused hardirq.h

Hi folks,

Any comment on this one?

Thanks,
Yang

Quoted 30 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by vfs at all.

So, remove the unused hardirq.h.

Cc Alexander Viro <[email protected]>
---
  fs/dcache.c     | 1 -
  fs/file_table.c | 1 -
  2 files changed, 2 deletions(-)
fs/dcache.c +0 -1
index f901413..9340e8c 100644
@@ -32,7 +32,6 @@
  #include <linux/swap.h>
  #include <linux/bootmem.h>
  #include <linux/fs_struct.h>
-#include <linux/hardirq.h>
  #include <linux/bit_spinlock.h>
  #include <linux/rculist_bl.h>
  #include <linux/prefetch.h>
fs/file_table.c +0 -0
index 61517f5..dab099e 100644

fs/file_table.c line 28

Quoted 7 lines
fs/file_table.c +0 -1
@@ -23,7 +23,6 @@
  #include <linux/sysctl.h>
  #include <linux/percpu_counter.h>
  #include <linux/percpu.h>
-#include <linux/hardirq.h>
  #include <linux/task_work.h>
  #include <linux/ima.h>
  #include <linux/swap.h>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#10 lore raw

PATCH 5/8 crypto: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by crypto at all.

So, remove the unused hardirq.h.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 crypto/ablk_helper.c | 1 -
 crypto/blkcipher.c   | 1 -
 crypto/mcryptd.c     | 1 -
 3 files changed, 3 deletions(-)
crypto/ablk_helper.c +0 -1
index 1441f07..ee52660 100644
@@ -28,7 +28,6 @@
 #include <linux/crypto.h>
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/hardirq.h>
 #include <crypto/algapi.h>
 #include <crypto/cryptd.h>
 #include <crypto/ablk_helper.h>
crypto/blkcipher.c +0 -1
index 6c43a0a..01c0d4a 100644
@@ -18,7 +18,6 @@
 #include <crypto/internal/skcipher.h>
 #include <crypto/scatterwalk.h>
 #include <linux/errno.h>
-#include <linux/hardirq.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/seq_file.h>
crypto/mcryptd.c +0 -1
index 4e64726..9fa362c 100644
@@ -26,7 +26,6 @@
 #include <linux/sched.h>
 #include <linux/sched/stat.h>
 #include <linux/slab.h>
-#include <linux/hardirq.h>
 
 #define MCRYPTD_MAX_CPU_QLEN 100
 #define MCRYPTD_BATCH 9
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#11 lore raw

Re: [PATCH 5/8] crypto: remove unused hardirq.h

The email to Herbert is returned, resent it.

Yang

Quoted 52 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by crypto at all.

So, remove the unused hardirq.h.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  crypto/ablk_helper.c | 1 -
  crypto/blkcipher.c   | 1 -
  crypto/mcryptd.c     | 1 -
  3 files changed, 3 deletions(-)
crypto/ablk_helper.c +0 -1
index 1441f07..ee52660 100644
@@ -28,7 +28,6 @@
  #include <linux/crypto.h>
  #include <linux/init.h>
  #include <linux/module.h>
-#include <linux/hardirq.h>
  #include <crypto/algapi.h>
  #include <crypto/cryptd.h>
  #include <crypto/ablk_helper.h>
crypto/blkcipher.c +0 -1
index 6c43a0a..01c0d4a 100644
@@ -18,7 +18,6 @@
  #include <crypto/internal/skcipher.h>
  #include <crypto/scatterwalk.h>
  #include <linux/errno.h>
-#include <linux/hardirq.h>
  #include <linux/kernel.h>
  #include <linux/module.h>
  #include <linux/seq_file.h>
crypto/mcryptd.c +0 -1
index 4e64726..9fa362c 100644
@@ -26,7 +26,6 @@
  #include <linux/sched.h>
  #include <linux/sched/stat.h>
  #include <linux/slab.h>
-#include <linux/hardirq.h>
 
  #define MCRYPTD_MAX_CPU_QLEN 100
  #define MCRYPTD_BATCH 9
maintainer
#12 lore raw

Re: [5/8] crypto: remove unused hardirq.h

In reply to Yang Shi
Quoted 9 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by crypto at all.

So, remove the unused hardirq.h.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
author
#13 lore raw

PATCH 6/8 net: caif: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by caif at all.

So, remove the unused hardirq.h.

Cc Dmitry Tarnyagin <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 net/caif/cfpkt_skbuff.c | 1 -
 net/caif/chnl_net.c     | 1 -
 2 files changed, 2 deletions(-)
net/caif/cfpkt_skbuff.c +0 -1
index 71b6ab2..38c2b7a 100644
@@ -8,7 +8,6 @@
 
 #include <linux/string.h>
 #include <linux/skbuff.h>
-#include <linux/hardirq.h>
 #include <linux/export.h>
 #include <net/caif/cfpkt.h>
 
net/caif/chnl_net.c +0 -1
index 922ac1d..53ecda1 100644
@@ -8,7 +8,6 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
 
 #include <linux/fs.h>
-#include <linux/hardirq.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#14 lore raw

Re: [PATCH 6/8] net: caif: remove unused hardirq.h

Hi folks,

Any comment on this one?

Thanks,
Yang

Quoted 38 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by caif at all.

So, remove the unused hardirq.h.

Cc Dmitry Tarnyagin <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  net/caif/cfpkt_skbuff.c | 1 -
  net/caif/chnl_net.c     | 1 -
  2 files changed, 2 deletions(-)
net/caif/cfpkt_skbuff.c +0 -1
index 71b6ab2..38c2b7a 100644
@@ -8,7 +8,6 @@
 
  #include <linux/string.h>
  #include <linux/skbuff.h>
-#include <linux/hardirq.h>
  #include <linux/export.h>
  #include <net/caif/cfpkt.h>
 
net/caif/chnl_net.c +0 -1
index 922ac1d..53ecda1 100644
@@ -8,7 +8,6 @@
  #define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
 
  #include <linux/fs.h>
-#include <linux/hardirq.h>
  #include <linux/init.h>
  #include <linux/module.h>
  #include <linux/netdevice.h>
author
#15 lore raw

Re: [PATCH 6/8] net: caif: remove unused hardirq.h

Hi David,

I'm not sure if CAIF is still maintained by Dmitry Tarnyagin. Do you have any comment on this one?

Thanks,
Yang

Quoted 36 lines · Yang Shi

Hi folks,

Any comment on this one?

Thanks,
Yang

Quoted 27 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by caif at all.

So, remove the unused hardirq.h.

Cc Dmitry Tarnyagin <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  net/caif/cfpkt_skbuff.c | 1 -
  net/caif/chnl_net.c     | 1 -
  2 files changed, 2 deletions(-)
net/caif/cfpkt_skbuff.c +0 -1
index 71b6ab2..38c2b7a 100644
@@ -8,7 +8,6 @@
  #include <linux/string.h>
  #include <linux/skbuff.h>
-#include <linux/hardirq.h>
  #include <linux/export.h>
  #include <net/caif/cfpkt.h>
net/caif/chnl_net.c +0 -0
index 922ac1d..53ecda1 100644
Quoted 8 lines

net/caif/chnl_net.c line 13

Quoted 8 lines
net/caif/chnl_net.c +0 -1
@@ -8,7 +8,6 @@
  #define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
  #include <linux/fs.h>
-#include <linux/hardirq.h>
  #include <linux/init.h>
  #include <linux/module.h>
  #include <linux/netdevice.h>
 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#16 lore raw

PATCH 7/8 net: ovs: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by openvswitch at all.

So, remove the unused hardirq.h.

Cc Pravin Shelar <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 net/openvswitch/vport-internal_dev.c | 1 -
 1 file changed, 1 deletion(-)
net/openvswitch/vport-internal_dev.c +0 -1
index 04a3128..2f47c65 100644
@@ -16,7 +16,6 @@
  * 02110-1301, USA
  */
 
-#include <linux/hardirq.h>
 #include <linux/if_vlan.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#17 lore raw

Re: [PATCH 7/8] net: ovs: remove unused hardirq.h

It looks the email address of Pravin in MAINTAINERS file is obsolete, sent to the right address.

Yang

Quoted 26 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by openvswitch at all.

So, remove the unused hardirq.h.

Cc Pravin Shelar <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  net/openvswitch/vport-internal_dev.c | 1 -
  1 file changed, 1 deletion(-)
net/openvswitch/vport-internal_dev.c +0 -1
index 04a3128..2f47c65 100644
@@ -16,7 +16,6 @@
   * 02110-1301, USA
   */
 
-#include <linux/hardirq.h>
  #include <linux/if_vlan.h>
  #include <linux/kernel.h>
  #include <linux/netdevice.h>
author
#18 lore raw

Re: [PATCH 7/8] net: ovs: remove unused hardirq.h

Hi folks,

Any comment on this one?

Thanks,
Yang

Quoted 31 lines · Yang Shi

It looks the email address of Pravin in MAINTAINERS file is obsolete, sent to the right address.

Yang

Quoted 25 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by openvswitch at all.

So, remove the unused hardirq.h.

Cc Pravin Shelar <[email protected]>
Cc "David S. Miller" <davem-fT/PcQaiUtIeIZ0/[email protected]>
---
  net/openvswitch/vport-internal_dev.c | 1 -
  1 file changed, 1 deletion(-)
net/openvswitch/vport-internal_dev.c +0 -1
index 04a3128..2f47c65 100644
@@ -16,7 +16,6 @@
   * 02110-1301, USA
   */
-#include <linux/hardirq.h>
  #include <linux/if_vlan.h>
  #include <linux/kernel.h>
  #include <linux/netdevice.h>
 
Acked-by on v1 7/8
#19 lore raw

Re: [ovs-dev] [PATCH 7/8] net: ovs: remove unused hardirq.h

In reply to Yang Shi
Quoted 9 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by openvswitch at all.

So, remove the unused hardirq.h.

Cc Pravin Shelar <[email protected]>
Cc "David S. Miller" <[email protected]>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#20 lore raw

Re: [ovs-dev] [PATCH 7/8] net: ovs: remove unused hardirq.h

Hi David,

Any comment is appreciated.

Thanks,
Yang

Quoted 4 lines · Pravin Shelar
Quoted 3 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by openvswitch at all.

Quoted 9 lines
Quoted 6 lines

So, remove the unused hardirq.h.

Cc Pravin Shelar <[email protected]>
Cc "David S. Miller" <[email protected]>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#21 lore raw

PATCH 8/8 net: tipc: remove unused hardirq.h

In reply to Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 net/tipc/core.h | 1 -
 1 file changed, 1 deletion(-)
net/tipc/core.h +0 -1
index 5cc5398..099e072 100644
@@ -49,7 +49,6 @@
 #include <linux/uaccess.h>
 #include <linux/interrupt.h>
 #include <linux/atomic.h>
-#include <asm/hardirq.h>
 #include <linux/netdevice.h>
 #include <linux/in.h>
 #include <linux/list.h>
Signature · 7 lines
1.8.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#22 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Hi folks,

Any comment on this one?

Thanks,
Yang

Quoted 26 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  net/tipc/core.h | 1 -
  1 file changed, 1 deletion(-)
net/tipc/core.h +0 -1
index 5cc5398..099e072 100644
@@ -49,7 +49,6 @@
  #include <linux/uaccess.h>
  #include <linux/interrupt.h>
  #include <linux/atomic.h>
-#include <asm/hardirq.h>
  #include <linux/netdevice.h>
  #include <linux/in.h>
  #include <linux/list.h>
#23 lore raw

RE: [PATCH 8/8] net: tipc: remove unused hardirq.h

Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:netdev- [email protected]] On Behalf Of Yang Shi
Sent: Thursday, December 07, 2017 14:16
To: [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; Jon Maloy <[email protected]>; Ying Xue <[email protected]>; David S. Miller <[email protected]>
Subject: Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Quoted 3 lines

Hi folks,

Any comment on this one?

If it compiles it is ok with me. Don't know why it was put there in the first place.

///jon

Quoted 32 lines

Thanks,
Yang

Quoted 26 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
---
  net/tipc/core.h | 1 -
  1 file changed, 1 deletion(-)
net/tipc/core.h index 5cc5398..099e072 renamed from net/tipc/core.h +0 -0

100644

net/tipc/core.h +0 -1
@@ -49,7 +49,6 @@
  #include <linux/uaccess.h>
  #include <linux/interrupt.h>
  #include <linux/atomic.h>
-#include <asm/hardirq.h>
  #include <linux/netdevice.h>
  #include <linux/in.h>
  #include <linux/list.h>
author
#24 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Quoted 13 lines · Jon Maloy
Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:netdev- [email protected]] On Behalf Of Yang Shi
Sent: Thursday, December 07, 2017 14:16
To: [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; Jon Maloy <[email protected]>; Ying Xue <[email protected]>; David S. Miller <[email protected]>
Subject: Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Quoted 5 lines
Quoted 3 lines

Hi folks,

Any comment on this one?

If it compiles it is ok with me. Don't know why it was put there in the first place.

Yes, it does compile.

Yang

Quoted 22 lines

///jon

Quoted 19 lines

Thanks,
Yang

Quoted 13 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
---
   net/tipc/core.h | 1 -
   1 file changed, 1 deletion(-)
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
net/tipc/core.h index 5cc5398..099e072 renamed from net/tipc/core.h +0 -0

100644

net/tipc/core.h +0 -0
@@ -49,7 +49,6 @@
Quoted 8 lines

net/tipc/core.h line 54

Quoted 8 lines
net/tipc/core.h +0 -1
   #include <linux/uaccess.h>
   #include <linux/interrupt.h>
   #include <linux/atomic.h>
-#include <asm/hardirq.h>
   #include <linux/netdevice.h>
   #include <linux/in.h>
   #include <linux/list.h>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

Tested-by Acked-by on v1 8/8
#25 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

In reply to Yang Shi
Quoted 9 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
Quoted 10 lines
---
 net/tipc/core.h | 1 -
 1 file changed, 1 deletion(-)
net/tipc/core.h +0 -0
index 5cc5398..099e072 100644

net/tipc/core.h line 54

Quoted 7 lines
net/tipc/core.h +0 -1
@@ -49,7 +49,6 @@
 #include <linux/uaccess.h>
 #include <linux/interrupt.h>
 #include <linux/atomic.h>
-#include <asm/hardirq.h>
 #include <linux/netdevice.h>
 #include <linux/in.h>
 #include <linux/list.h>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#26 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Hi David,

Any more comment on this change?

Thanks,
Yang

Quoted 18 lines · Ying Xue
Quoted 9 lines · Yang Shi

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by TIPC at all.

So, remove the unused hardirq.h.

Cc Jon Maloy <[email protected]>
Cc Ying Xue <[email protected]>
Cc "David S. Miller" <[email protected]>
Quoted 4 lines
---
  net/tipc/core.h | 1 -
  1 file changed, 1 deletion(-)
Quoted 13 lines

net/tipc/core.h line 54

Quoted 13 lines
net/tipc/core.h +0 -1
index 5cc5398..099e072 100644
@@ -49,7 +49,6 @@
  #include <linux/uaccess.h>
  #include <linux/interrupt.h>
  #include <linux/atomic.h>
-#include <asm/hardirq.h>
  #include <linux/netdevice.h>
  #include <linux/in.h>
  #include <linux/list.h>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

maintainer
#27 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

From: "Yang Shi" <[email protected]>
Date: Fri, 05 Jan 2018 06:46:48 +0800

Quoted 1 line

Any more comment on this change?

These patches were not really submitted properly.

If you post a series, the series goes to one destination and one tree.

If they are supposed to go to multiple trees, submit them individually rather than as a series. With clear indications in the Subject lines which tree should be taking the patch.

Thank you.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#28 lore raw

Re: [PATCH 8/8] net: tipc: remove unused hardirq.h

Quoted 5 lines · David Miller

From: "Yang Shi" <[email protected]>
Date: Fri, 05 Jan 2018 06:46:48 +0800

Quoted 1 line

Any more comment on this change?

Quoted 8 lines

These patches were not really submitted properly.

If you post a series, the series goes to one destination and one tree.

If they are supposed to go to multiple trees, submit them individually rather than as a series. With clear indications in the Subject lines which tree should be taking the patch.

Thanks for the comment. I will resend the net patches in a separate series to you.

Yang

Quoted 3 lines

Thank you.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>